Last active
September 26, 2015 04:02
-
-
Save nmschorr/68d95bb752f84b2eccee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected WebDriver createDriver(Logger myLogger) throws AWTException, InterruptedException { | |
// the following 2 lines will dismiss the Windows crash alert dialog | |
AlertThread tAlertThread = new AlertThread("tAlertThread"); | |
tAlertThread.start(); | |
WebDriver localDriver = new FirefoxDriver(); // using this to see if bug goes away | |
localDriver.manage().timeouts().implicitlyWait(WAIT_TIME, TimeUnit.SECONDS); //for the entire test run | |
return localDriver; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment