ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
https://github.com/UltrafunkAmsterdam/undetected-chromedriver
GNU General Public License v3.0
9.15k stars 1.1k forks source link

execute_cdp_cmd doesnt work in headless mode #1787

Open RobertAzovski opened 4 months ago

RobertAzovski commented 4 months ago

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 ??

boludoz commented 3 months ago

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