IE11: webdriver doesn't execute driver.close()
hossainmtuhin opened this issue · 1 comments
hossainmtuhin commented
@Test public void launchSite() { WebDriverManager.iedriver().setup(); // WebDriverManager.iedriver().arch64().setup(); driver = new InternetExplorerDriver(); driver.manage().window().maximize(); try { driver.get("https://www.wikipedia.org/"); } catch (TimeoutException e) { System.out.println("TimeoutException error is thrown and later handled"); } driver.close(); }
For the above test method, the IE11 browser was up and was loaded the page. But the problem is, the browser doesn't get closed and remains open. Later, it throws timeOutError.
bonigarcia commented