![]() ![]() When I start the tests, the web browser is open but page is not loaded.I have "data:," displayed as web browser address. My Chrome version is: 1.89My WebDriver Version is: 1.70 I have very specific problem with my root framework. I know there are very skilled personnes here that ca help. Tried to do some weird thing using Javascript: ((JavascriptExecutor) driver).executeScript(" = function() ")# Close the browserdriver.quit() I tried to set some chrome options: Map chromeOptions = new HashMap() chromeOptions.put("args", Arrays.asList("-disable-system-timezone-automatic-detection", "-local-timezone")) DesiredCapabilities capabilities = DesiredCapabilities.chrome() tCapability(ChromeOptions.CAPABILITY, chromeOptions) ![]() And I want to be able to change the Chromedriver's timezone somehow to perform timezone dependent testing. The issue is that when I go to some sites (for example, ), it shows the system time that is equal to the time set on Windows. Is there some ChromeOptions argument or something? I can't figure out how to set a timezone when using Chromedriver. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |