seleniumselenium-webdriverinternet-explorer-11selenium-iedriveriedriverserver

Which is the compatible version of IEDriverServer for IE11 and Selenium 3.13?


I am automating tests with IE11 and Selenium 3.13 and I was testing different version of IEDriverServer but every version has a bug. I want a stable version to combine IEDriverServer with IE11 and Selenium 3.13

I'm using this code to launch the application:

private static WebDriver setRemoteDriver(Map<String, Object> selConfig) {
    String browser = System.getProperty("browser", selConfig.get("browser").toString());
    capabilities = new DesiredCapabilities();
    capabilities.setJavascriptEnabled(true);
    if (browser.equalsIgnoreCase("firefox")) {
        capabilities = DesiredCapabilities.firefox();
        capabilities.setCapability(FirefoxDriver.PROFILE, getFirefoxProfile());
        capabilities.setCapability("pageLoadStrategy", "normal");
    } else if (browser.equalsIgnoreCase("chrome")) {
        capabilities = DesiredCapabilities.chrome();
    } else if (browser.equalsIgnoreCase("Safari")) {
        capabilities = DesiredCapabilities.safari();
    } else if ((browser.equalsIgnoreCase("ie")) || (browser.equalsIgnoreCase("internetexplorer"))
            || (browser.equalsIgnoreCase("internet explorer"))) {
        capabilities = DesiredCapabilities.internetExplorer();
    } else {
        System.out.println("Please correct Browser specify in YAML file : " + browser);
        capabilities = DesiredCapabilities.firefox();
    }
    try {
        url = new URL(System.getProperty("ipaddress", getYamlValue("selenium.remote.host")));
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }
    return new RemoteWebDriver(url, capabilities);
}

Solution

  • IEDriverServer for IE11 and Selenium should always be identical. As per best practices you should always use the recent GA version while some organizations tends to prefer the major GA releases only.

    As an example:

    selenium_3_14_0


    selenium_3_141_0


    This Usecase

    For Selenium v3.13.0 you should always use IEDriverServer v3.13.0

    selenium_3_13_0