Skip to content

Patchright

Category: Classic browser automation (undetected Playwright drop-in)

Free / Paid: Free and open source (Apache 2.0 license)

Official repository: github.com/Kaliiiiiiiiii-Vinyzu/patchright


What it is

Patchright is a patched, undetected version of the Playwright testing and automation framework. It functions as a direct drop-in replacement for Playwright and patches Chromium-based browsers to avoid detection by bot protection systems such as Cloudflare, Kasada, and Datadome.

Patchright specifically targets three major leak vectors that standard Playwright exposes:

  • Runtime.enable leaks
  • Console.enable leaks
  • Command-flag detection

Because the API is identical to Playwright's, any existing Playwright script can be migrated by changing the import from playwright to patchright.

Supported languages:

LanguagePackage repository
Pythonpatchright-python
Node.jspatchright-nodejs
.NETpatchright-dotnet

Browser support: Chromium-based browsers only. Firefox and WebKit are not supported.

Best practice: Use Google Chrome via channel="chrome" (Python) or channel: "chrome" (Node.js) without custom headers or user agents for maximum undetectability.


Safety and ToS note

This tool is provided for educational purposes only. The authors and maintainers assume no liability for any damages, legal issues, or warranty breaches resulting from use. Bypassing bot-detection systems may violate the terms of service of target websites. Always verify that your automation use case complies with applicable laws and the policies of the sites you access.