Is it possible to set time zone to an automation test in Python-selenium?
Hi Richard,
If you want to run you automation test for a particular time zone in Python-selenium on Lambdatest, you can use the following steps:
desired_caps = {
'LT:Options': {
"build": "Python Demo", # Change your build name here
"name": "Python Demo Test", # Change your test name here
"platformName": "Windows 11",
"selenium_version": "4.0.0",
"timezone": "UTC-05:00"
},
"browserName": "Chrome",
"browserVersion": "98.0",
}
You can refer to sample test repo here.