🎭 Patchright
Patchright is a patched and undetected version of the Playwright Testing and Automation Framework. It can be used as a drop-in replacement for Playwright.
[!NOTE]
This repository serves the Patchright Driver. To use Patchright, check out the Python Package, the NodeJS Package or the community-driven .Net Package
[!IMPORTANT]
Patchright only patches CHROMIUM based browsers. Firefox and Webkit are not supported.
Sponsors
Want to Sponsor this Project? Contact @vinyzu on Discord!
##### NodeMaven: Your efficient proxy provider for Web Scraping and Automation with High Quality IPs.
Why NodeMaven?
🎯 ZIP targeting ✅ 99.9% Uptime 🔍 IP Filtering: Proxies are guaranteed to have fraud score 🔰 No KYC required 🎉 Unique free tools: Proxy Bandwidth Checker, Meta Tag Checker, IP Lookup and others!
Special codes for Patchright users: 🔥 PATCHRIGHT35 - 35% off to Mobile and Residential Proxies 🔥 PATCHRIGHT40 - 40% off to ISP (Static) Proxies
Choose quality and stability with NodeMaven.
Swiftproxy: High-Performance Residential Proxies for Scalable Data Collection
Built for developers who need reliable, anti-detection proxy infrastructure. Swiftproxy delivers stable connections, high success rates, and flexible control for large-scale scraping and automation.
- 🌍 195+ locations with ethically sourced residential IPs
- 🔄 Rotating & sticky sessions with precise geo-targeting
- ⚡ Optimized for anti-ban & high success rate
- 🔌 HTTP / HTTPS / SOCKS5 support
- 🧪 Free 500MB trial for testing
- 💸 Special discount code for Patchright users: PROXY90 - 10%
Best for: Web scraping, automation, multi-accounting, and large-scale data extraction
RapidProxy provides a stable and high-performance proxy network built for large-scale data operations.
RapidProxy delivers:
- 🌍 90M+ Residential IPs (200+ locations)
- 🔄 Rotating Residential Proxies — from $0.65/GB (non-expiring traffic)
- 🧩 Static Residential IPs — $5/IP (30 days, unlimited traffic)
- 🎯 Precise geo-targeting
- ⚡ Free Trial Available — test proxy performance risk-free
- Built for scraping, automation, and high-performance data workflows.
- 🔥 Special Offer: Use code RAPID10 to get 10% off
Start fast. Scale globally. Stay stable with RapidProxy.

Sponsored by Scrappey
Getting the browser past detection is one problem. Keeping proxies rotating, fingerprints current and sessions alive across a few million requests is a different one. Scrappey takes the second problem: one endpoint, solved pages back.
- Clearcote — our own patched Chromium, maintained in-house, not a stock build
- Several engines behind one endpoint — blocked on one stack, routed to another
- Click, type, wait and scroll over the API — a real session, not a fetch proxy
- Residential and datacenter proxies included, or bring your own
- Per request, no monthly minimum
curl -X POST "https://publisher.scrappey.com/api/v1?key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"cmd": "request.get", "url": "https://example.com"}'
Get 10% off with code PATCHRIGHT
Patches
Runtime.enable Leak
This is the biggest Patch Patchright uses. To avoid detection by this leak, patchright avoids using Runtime.enable by executing Javascript in (isolated) ExecutionContexts.
Console.enable Leak
Patchright patches this leak by disabling the Console API all together. This means, console functionality will not work in Patchright. If you really need the console, you might be better off using Javascript loggers, although they also can be easily detected.
Command Flags Leaks
Patchright tweaks the Playwright Default Args to avoid detection by Command Flag Leaks. This (most importantly) affects:
--disable-blink-features=AutomationControlled(added) to avoid navigator.webdriver detection.--enable-automation(removed) to avoid navigator.webdriver detection.--disable-popup-blocking(removed) to avoid popup crashing.--disable-component-update(removed) to avoid detection as a Stealth Driver.--disable-default-apps(removed) to enable default apps.--disable-extensions(removed) to enable extensions
General Leaks
Patchright patches some general leaks in the Playwright codebase. This mainly includes poor setups and obvious detection points.
Closed Shadow Roots
Patchright is able to interact with elements in Closed Shadow Roots. Just use normal locators and Patchright will do the rest.
Patchright is now also able to use XPaths in Closed Shadow Roots.
Stealth
With the right setup, Patchright currently is considered undetectable. Patchright passes:
- [Brotector](https://kalii