Patchright is an undetected version of the Playwright testing and automation library that works as a drop-in replacement for Playwright.
The tool addresses the problem of browser automation being detected and blocked by anti-bot systems. It achieves this by patching the underlying browser driver to remove or mask the telltale signatures that detection systems look for. The approach maintains API compatibility with Playwright, allowing developers to use familiar methods while benefiting from stealth enhancements.
Patchright suits projects that require web automation or scraping against sites with anti-bot protections, particularly those targeting Cloudflare or similar detection systems. It is specifically designed for Chromium-based browsers; Firefox and WebKit are not supported. Because it maintains Playwright's interface, teams already using Playwright can adopt it with minimal code changes. The tool is available across multiple language ecosystems through separate packages for Python, Node.js, and .Net.
The project maintains active test coverage across its driver and language-specific implementations. Development activity spans the core driver repository and coordinated releases across multiple package ecosystems, indicating sustained effort to keep the tool functional as detection systems evolve.