Search in sources :

Example 56 with InternetExplorerDriver

use of org.openqa.selenium.ie.InternetExplorerDriver in project domui by fjalvingh.

the class WebDriverFactory method allocateIEDriver.

@NonNull
private static WebDriver allocateIEDriver(BrowserModel browser, Locale lang) {
    InternetExplorerDriver wd = new InternetExplorerDriver(getIECapabilities(browser, lang));
    String browserName = wd.getCapabilities().getBrowserName();
    String version = wd.getCapabilities().getVersion();
    System.out.println("wd: allocated " + browserName + " " + version);
    return wd;
}
Also used : InternetExplorerDriver(org.openqa.selenium.ie.InternetExplorerDriver) NonNull(org.eclipse.jdt.annotation.NonNull)

Aggregations

InternetExplorerDriver (org.openqa.selenium.ie.InternetExplorerDriver)56 ChromeDriver (org.openqa.selenium.chrome.ChromeDriver)27 FirefoxDriver (org.openqa.selenium.firefox.FirefoxDriver)26 ChromeOptions (org.openqa.selenium.chrome.ChromeOptions)21 SafariDriver (org.openqa.selenium.safari.SafariDriver)17 DesiredCapabilities (org.openqa.selenium.remote.DesiredCapabilities)16 EdgeDriver (org.openqa.selenium.edge.EdgeDriver)15 InternetExplorerOptions (org.openqa.selenium.ie.InternetExplorerOptions)15 WebDriver (org.openqa.selenium.WebDriver)13 RemoteWebDriver (org.openqa.selenium.remote.RemoteWebDriver)10 URL (java.net.URL)9 HtmlUnitDriver (org.openqa.selenium.htmlunit.HtmlUnitDriver)9 File (java.io.File)8 PhantomJSDriver (org.openqa.selenium.phantomjs.PhantomJSDriver)8 Test (org.junit.Test)7 FirefoxOptions (org.openqa.selenium.firefox.FirefoxOptions)7 InternetExplorerDriverService (org.openqa.selenium.ie.InternetExplorerDriverService)7 WebDriverException (org.openqa.selenium.WebDriverException)5 OperaDriver (org.openqa.selenium.opera.OperaDriver)5 EdgeOptions (org.openqa.selenium.edge.EdgeOptions)4