Hi,
I have two Selenium Server nodes running as Jenkins slave on remote with IE 11 and win 10. The browser's zoom level and windows display setting have set to 100%.
If someone connect the remote sever using remote desktop(mstsc.exe) with win 10 and the display settings is not 100% while then the selenium test start, the IE zoom level exception will be thrown and the test will be interrupted.
I have try to use ignoreZoomSetting as follow:
DesiredCapabilities capability = DesiredCapabilities.internetExplorer();
capability.setCapability(InternetExplorerDriver.IGNORE_ZOOM_SETTING, true);
return new RemoteWebDriver(new URL(url), capability);
but it doen't work.
Now I'm trying to find a way to reset the IE zoom level to 100% before the Selenium Sever launch the browser instance. Does anybody have ideas?
Thanks