0
how to handle alerts in selenium webdriver java

Solved 1 Answers 119 Views Selenium
How do I handle alerts in Selenium WebDriver Java, especially the alerts which occurs unexpectedly.

1 Answer

0
Best answer
To handle alert you can use below code.

driver.switchTo().alert().accept();
answered Feb 17, 2015 by KeeshaGolden (327 points)
selected Mar 7 by stbadmin
...