How to handle javascript alert message popup in selenium web driver i need selenium web driver code please
how to click on ok button using selenium web driver
How to handle javascript alert message popup in selenium web driver i need selenium web driver code please
how to click on ok button using selenium web driver
You can try something like this: driver.switchTo().alert().accept();
to accept the Javascript alert. This might help you more: Handling Javascript alerts
switchTo() and the second one.switchTO(), just add Thread.sleep(3000); and see what happens.