private WebDriver loadInternetExplorerDriver() throws MalformedURLException {
// set the REQUIRED system property to locate the IEDriver
System.setProperty("webdriver.ie.driver", "C:/twds/segrid2/IEDriverServer.exe");
DesiredCapabilities capabilities = DesiredCapabilities.internetExplorer();
capabilities.setPlatform(Platform.WINDOWS);
if (browserVersion != null) {
capabilities.setVersion(browserVersion);
}
if (isTestRemote) {
return new Augmenter().augment(new RemoteWebDriver(new URL(remoteHub), capabilities));
} else {
return new InternetExplorerDriver(capabilities);
}
}
I will try using Se 2.40.0 and see if it makes a difference. The IE driver is in the PATH, but I'll verify that it is running under the correct user. It's odd because, we also have the Chrome driver installed for the same user at the same path, and there are no issues with that driver.