Patchright Documentation

repository·main·Indexed 25 days ago

https://github.com/kaliiiiiiiiii-vinyzu/patchright

A patched version of the Playwright framework designed for undetected browser automation. It serves as a drop-in replacement for Playwright targeting Chromium-based browsers to bypass anti-bot protections such as Cloudflare, Akamai, and Datadome. It supports interacting with Closed Shadow Roots but disables the Console API to avoid detection. This repository contains the Patchright Driver; language-specific packages are available for Python, NodeJS, and .NET.

Tokens
428
Snippets
0
Records
4
Agent score
38%

What's inside Patchright

  1. Overview of Patchright

    main

    Patchright is a patched and undetected version of the Playwright Testing and Automation Framework designed to serve as a drop-in replacement for Playwright. It focuses on bypassing anti-bot detections by patching Chromium-based browsers.

    Important Limitations:

    • Browser Support: Patchright only patches CHROMIUM based browsers. Firefox and Webkit are not supported.
    • Console API: To avoid detection via the Console.enable leak, Patchright disables the Console API entirely. Standard console functionality will not work. If needed, use JavaScript loggers (though these may also be detectable).
    • Driver vs. Language Packages: This repository contains the Patchright Driver. To use Patchright in your projects, you must use one of the language-specific packages.
  2. Patchright Stealth Capabilities

    main

    Patchright is designed to be undetectable by major anti-bot services. It currently passes detection tests for:

    • Cloudflare
    • Akamai
    • Datadome
    • Fingerprint.com
    • Kasada
    • Shape/F5
    • Sannysoft
    • CreepJS
    • Pixelscan
    • Brotector (when used with CDP-Patches)
    • And others including Bet365, Incolumitas, IPHey, and Browserscan.