Automation Support Features
mainThe browser is optimized for automation scenarios with the following built-in features:
- Fake Shadow DOM Support: Adds the
fakeShadowRootproperty (equivalent toshadowRoot) to allow access to Closed Shadow Roots. - Avoid CDP Detection: Prevents detection of the Chrome DevTools Protocol (CDP) when invoking
Runtime.enable. - Webdriver: Automatically sets
navigator.webdrivertofalseto avoid automation detection. - Headless: Modifies the
User-AgentfromHeadlessChrometoChrometo improve stealth in headless mode (note: other headless characteristics remain unchanged).