$npx skillfedfor your agent

patchright

Undetected Python version of the Playwright testing and automation library.

With conditionsPyPI TestingReleased Jul 20264.2M downloads / moApache-2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — patchright-1.61.2-py3-none-macosx_10_13_x86_64.whl · patchright-1.61.2-py3-none-macosx_11_0_arm64.whl · patchright-1.61.2-py3-none-macosx_11_0_universal2.whl
v1.61.2 · released 2026-07-05 · Python >=3.10 · 2 runtime deps: pyee, greenlet

Yes, if you need to automate Chromium against bot-detection systems and accept the trade-offs. Patchright is actively maintained with no known vulnerabilities. However, install it only if standard Playwright fails due to detection—anti-detection techniques are inherently fragile and may break as detection systems evolve. Verify that your use case complies with the target site's terms of service.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10+.
  • Chromium driver must be installed separately via `patchright install chromium`.
  • Only supports Chromium-based browsers; Firefox and WebKit are not supported.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.

last release 2026-07-05 (40 days) · last repo commit 2026-08-09 · 1,463 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,178,710 downloads/mo, #2,367 on PyPI

Verify before relying

pip install patchright
patchright install chromium

from patchright.sync_api import sync_playwright

with sync_playwright() as p:
    browser = p.chromium.launch()
    page = browser.new_page()
    page.goto('http://example.com')
    browser.close()
  • Whether anti-detection patches remain effective as bot-detection systems evolve
  • Performance overhead compared to standard Playwright due to stealth modifications
  • Compatibility guarantees if Playwright's API changes significantly in future releases
Same gist for agents: .md · .json

What it is and what it does

Patchright is a modified version of Playwright that patches known detection vectors used by anti-bot systems. It disables or modifies default command-line flags, avoids Runtime.enable and Console.enable leaks, and can interact with closed Shadow DOM elements—all designed to make automated browser sessions appear more like legitimate user activity. The package maintains Playwright's sync and async APIs, so existing code can often run unchanged by simply swapping the import statement.

The package is actively maintained with recent releases and passes several major anti-bot systems. It requires Python 3.10 or later and depends on pyee and greenlet. Browser drivers must be installed separately, and the documentation emphasizes using Google Chrome with specific launch configurations for best stealth results.

Use it for

  • Web scraping sites protected by major bot-detection systems
  • Automated testing of web applications that check for headless browser signatures
  • Account automation workflows where detection avoidance is critical
  • Extracting data from sites that actively block automated access
  • Interaction with closed Shadow DOM elements without modifying page structure

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to automate Chromium against bot-detection systems and accept the trade-offs.

Patchright is actively maintained with no known vulnerabilities. However, install it only if standard Playwright fails due to detection—anti-detection techniques are inherently fragile and may break as detection systems evolve. Verify that your use case complies with the target site's terms of service.

Install

patchright on PyPI

Before you install

Medium friction: precompiled wheels for multiple platforms (macOS, Linux, Windows, ARM) reduce build complexity, but requires a separate driver installation step and depends on pyee and greenlet for event handling and async support.

Requires Python 3.10+. Chromium driver must be installed separately via `patchright install chromium`. Only supports Chromium-based browsers; Firefox and WebKit are not supported.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.

Quickstart

pip install patchright
patchright install chromium

from patchright.sync_api import sync_playwright

with sync_playwright() as p:
    browser = p.chromium.launch()
    page = browser.new_page()
    page.goto('http://example.com')
    browser.close()

Verify before relying

  • Whether anti-detection patches remain effective as bot-detection systems evolve
  • Performance overhead compared to standard Playwright due to stealth modifications
  • Compatibility guarantees if Playwright's API changes significantly in future releases

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependencies
2 packages
pyeegreenlet
MaintenanceActively maintained 40 days since the last release
Last repo commit
First released
Downloads4,178,710 / month, #2,367 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTP :: BrowsersTopic :: Software Development :: Testing

Evidence: patchright-1.61.2-py3-none-macosx_10_13_x86_64.whl; patchright-1.61.2-py3-none-macosx_11_0_arm64.whl; patchright-1.61.2-py3-none-macosx_11_0_universal2.whl; patchright-1.61.2-py3-none-manylinux1_x86_64.whl; patchright-1.61.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; patchright-1.61.2-py3-none-win32.whl; patchright-1.61.2-py3-none-win_amd64.whl; patchright-1.61.2-py3-none-win_arm64.whl

Tags

Capabilities
undetected browser automationplaywright alternative anti-detectionchromium automation stealthbot detection evasionheadless browser testing undetectedweb scraping anti-botplaywright drop-in replacement
Topics
anti-detectionweb-scrapingbrowser-automation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “undetected browser automation”

  • patchrightPatchright is an undetected fork of Playwright that automates…
  • nodrivernodriver is an async browser automation library that controls…
  • cloakbrowserLaunches a stealth Chromium browser that evades bot detection by…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also rebrowser-playwright · playwright · tf-playwright-stealth · cloakbrowser · pytest-playwright · playwright-stealth · pytest-playwright-asyncio · recognizer · axe-playwright-python · robotframework-browser