Tuesday, February 25, 2014

Popup Alert : how to handel.

Example:
 
Create a switch to Alert object:   Alert   alert  =   driver.switchTo().alert();
Now accept the object :               alert.accept();

No comments:

Post a Comment