Open RobertAzovski opened 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.
options.headless=True
What is the problem ??
The project is being moved to 'nodriver' which is much better. I recommend that you use seleniumbase for the moment.
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 ??