Playwright Stealth (Firefox)
Playwright-based · open source · Firefox · last run Dec 1, 2026
Targets
HEADEDHEADLESSHeaded: 4 of 10 checks. Headless: 3 of 10. DataDome is tested on two sites.
History
The checks got stricter on Nov 20: each target now needs a page marker. Reddit moved to 3 sessions on Dec 1.
Notes
Headed Playwright Stealth (Firefox) passed 4 of 10 checks: 8 of 9 detection tests flagged it, CreepJS saw 33% headless. Headless passed 3 of 10 checks: 8 of 9 detection tests flagged it, CreepJS saw 33% headless.
Known leak: the real IP shows through WebRTC in both modes, even with a proxy set. Turn WebRTC off or route it through the proxy.
Get started
pip install tf-playwright-stealth playwright playwright install firefox
from playwright.async_api import async_playwright
from playwright_stealth import stealth_async
async with async_playwright() as p:
browser = await p.firefox.launch(headless=True)
page = await (await browser.new_context()).new_page()
await stealth_async(page)
await page.goto("https://example.com")The benchmark called stealth_async(page) without a config, so on Firefox the scripts use the library's default Chrome properties.