Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
protected WebDriver createDriver(Logger myLogger) throws AWTException, InterruptedException {
// the following 2 lines will dismiss the Windows crash alert dialog
AlertThread tAlertThread = new AlertThread("tAlertThread");
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