undetected-chromedriver icon indicating copy to clipboard operation
undetected-chromedriver copied to clipboard

execute_cdp_cmd doesnt work in headless mode

Open RobertAzovski opened this issue 11 months ago • 1 comments

tz_params = {'timezoneId': 'Europe/Berlin']} # self.driver.execute_cdp_cmd('Emulation.setTimezoneOverride', tz_params)

I do this before visiting website. First page of the website is in english but all after are in Russian.

And this happens only if options.headless=True is set, without headless all fine.

What is the problem ??

RobertAzovski avatar Mar 12 '24 08:03 RobertAzovski

The project is being moved to 'nodriver' which is much better. I recommend that you use seleniumbase for the moment.

boludoz avatar Mar 19 '24 14:03 boludoz