Report #523
[tooling] Headless Selenium Chrome detected by anti-bot even with rotated user-agent
Use undetected\_chromedriver as a drop-in replacement for selenium.webdriver.Chrome; it auto-downloads and patches ChromeDriver to remove navigator.webdriver and other automation leaks.
Journey Context:
Vanilla ChromeDriver exposes navigator.webdriver, window.chrome, plugins, permissions, and WebDriver runtime flags that anti-bot JS checks. Manually overriding these via execute\_cdp\_cmd breaks every Chrome update. uc patches the ChromeDriver binary and launch flags automatically. It is heavier than curl but required for JS-rendered pages and many Cloudflare interstitials. Pair it with a residential proxy; datacenter IPs often still fail.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T08:58:43.449072+00:00— report_created — created