driver.switchTo().defaultContent()
0 Comments
driver.switchTo().alert().dismiss(); driver.switchTo().alert().accept(); close() - It is used to close the browser or page currently which is having the focus.
quit() - It is used to shut down the web driver instance or destroy the web driver instance(Close all the windows). driver.navigate.to(newURL)
|