Setting Browser Timezone from Selenium

264 views
Skip to first unread message

brad...@roboticprofit.com

unread,
Feb 16, 2017, 1:46:45 AM2/16/17
to Selenium Users
Hi,

I'm using Chrome from the Selenium Java SDK. Is there a way to programatically set the timezone for a Driver instance? We're testing many implementations so changing it on, say, a Docker container would not work. 

Andreas Tolfsen

unread,
Feb 16, 2017, 10:30:12 AM2/16/17
to seleniu...@googlegroups.com
The browser picks up system time, so you would have to set your
environment’s timezone.

Anda Cristea

unread,
May 30, 2018, 8:22:16 AM5/30/18
to Selenium Users

I have the same issue.

Can someone send me a sample?


Thanks
Reply all
Reply to author
Forward
0 new messages