invisible_playwright
invisible_playwright is a Firefox-based anti-detection browser automation library designed to let Playwright scripts bypass anti-bot detection and CAPTCHAs. It uses Firefox patched at the C++ source level to set browser fingerprints (such as navigator, screen, GPU/WebGL, Canvas, fonts, audio, WebRTC, timezone, network, etc.) inside the engine rather than through JavaScript injection, so there are no override traces that can be detected. At the same time, the driver layer humanizes actions such as clicks, hovers, and drags, simulating real mouse paths and timing. The library is compatible with the existing Playwright synchronous and asynchronous APIs, allowing switching without modifying code, supports Python 3.11+, and can run on Windows x86_64 and Linux x86_64/arm64. Each session generates a random fingerprint, supports reproducibility via a seed, and can pin specific fingerprint fields. It supports socks5, socks4, http, and https proxies, with DNS routed through the proxy by default, and the timezone can follow the exit IP. The installation command is invisible-playwright, and it can also be run via python -m invisible_playwright. The project uses the MIT license, and the patched Firefox binary follows MPL-2.0.