Another Test

This commit is contained in:
Martin Stockhammer 2017-06-11 11:10:53 +02:00
parent eee948a721
commit 3e2946fd24
1 changed files with 2 additions and 1 deletions

View File

@ -99,9 +99,10 @@ public class WebdriverUtility
DesiredCapabilities capabilities = DesiredCapabilities.internetExplorer(); DesiredCapabilities capabilities = DesiredCapabilities.internetExplorer();
capabilities.setCapability( InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true ); capabilities.setCapability( InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true );
// capabilities.setCapability( InternetExplorerDriver.LOG_FILE, "target/selenium/driver.log" ); // capabilities.setCapability( InternetExplorerDriver.LOG_FILE, "target/selenium/driver.log" );
capabilities.setCapability( InternetExplorerDriver.LOG_LEVEL, "DEBUG" ); capabilities.setCapability( InternetExplorerDriver.LOG_LEVEL, "TRACE" );
capabilities.setCapability( InternetExplorerDriver.BROWSER_ATTACH_TIMEOUT, 60000 ); capabilities.setCapability( InternetExplorerDriver.BROWSER_ATTACH_TIMEOUT, 60000 );
capabilities.setCapability( InternetExplorerDriver.INITIAL_BROWSER_URL, getBaseUrl() ); capabilities.setCapability( InternetExplorerDriver.INITIAL_BROWSER_URL, getBaseUrl() );
capabilities.setCapability( InternetExplorerDriver.FORCE_CREATE_PROCESS, true );
WebDriver driver; WebDriver driver;
if (seleniumRemote) if (seleniumRemote)
{ {