This blog is for Automation Test Engineers

Saturday, 2 September 2017

How to know whether page is fully loaded


JavascriptExecutor js=(JavascriptExecutor)driver);
String name=(String)js.executeScript("alert(document.readstate");
System.out.print(name);


0

0 comments:

Post a Comment