Open mat926 opened 8 months ago
@mat926 did you find a fix?
@mat926 did you find a fix?
No I'm still having this error
Add args=["--disable-blink-features=AutomationControlled"]
:
with sync_playwright() as p:
browser = p.chromium.launch_persistent_context(
'./temp',
headless = True,
args=["--disable-blink-features=AutomationControlled"],
)
page = browser.pages[0]
stealth_sync(page)
page.goto('https://arh.antoinevastel.com/bots/areyouheadless')
The above solution isn't working for me.
I launch my browser like this:
However it's failing the Headless bot detection. https://arh.antoinevastel.com/bots/areyouheadless