Playwright(Firefox) that pass all antibot/captcha

Sharing this in case anyone else fights flaky browser tests. Half our flake turned out to be the profile looking automated — canvas/WebGL/timezone/WebRTC all screaming “headless”, so pages took a different path under test than for a real user.
So I built a Playwright-compatible Firefox where the profile is stable and real-looking (deterministic per session, same values every run). The patches are in the browser source, not a JS shim — a shim was my first try and pages could still tell.
pip install git+https://github.com/feder-cr/invisible_playwright, then it’s the normal Playwright API. Sanity-check it on CreepJS/sannysoft. Mostly curious whether it actually cuts flake for anyone else; WebRTC and some timezone cases are where I’m least sure. GitHub - feder-cr/invisible_playwright: Anti-Detect Browser that passes every bot detection test. Drop-in Playwright replacement. · GitHub

1 Like