I am facing slowness on trying to execute my selenium script remotely on IE11 However, this is comparatively working fine with local execution
Selenium version: 3.141 IE driver: 3.14.0
I am working on a healthcare project and the supported browser is IE. Please suggest how to fix this problem?
Capabilities:
private static WebDriver getInternetExplorerDriver(String driverpath) {
if (driverpath.endsWith(".exe")) {
System.setProperty("webdriver.ie.driver", driverpath);
} else {
System.setProperty("webdriver.ie.driver", driverpath + "IEDriverServer.exe");
}
capabilities.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true);
capabilities.setCapability("ignoreZoomSetting", true);
capabilities.setCapability(InternetExplorerDriver.INITIAL_BROWSER_URL, "");
capabilities.setCapability("requireWindowFocus", true);
capabilities.setCapability(InternetExplorerDriver.NATIVE_EVENTS, false);
capabilities.setCapability("unexpectedAlertBehaviour", "accept");
capabilities.setCapability("ignoreProtectedModeSettings", true);
capabilities.setCapability("disable-popup-blocking", true);
capabilities.setCapability("enablePersistentHover", true);
return new InternetExplorerDriver(capabilities);
}