List of usage examples for org.openqa.selenium.ie InternetExplorerDriver InternetExplorerDriver
public InternetExplorerDriver(InternetExplorerDriverService service, InternetExplorerOptions options)
From source file:de.learnlib.alex.learning.entities.webdrivers.IEDriverConfig.java
License:Apache License
@Override public WebDriver createDriver() throws Exception { final InternetExplorerOptions options = new InternetExplorerOptions() .introduceFlakinessByIgnoringSecurityDomains(); final InternetExplorerDriverService service = new InternetExplorerDriverService.Builder().usingAnyFreePort() .build();/*from w w w . j av a2 s .c o m*/ final WebDriver driver = new InternetExplorerDriver(service, options); manage(driver); return driver; }