What We Are Learn On This Post
Time Taken Open Website Selenium WebDriver Program
How to Find Out How Much Time Taken Open Website Using Java Selenium?
When you are doing automation for a web application then you may face a common problem which is most of the time your website is opening lately.
Program: Close 2nd Window in Selenium
public class open_time { long start = System.currentTimeMillis(); driver.get("Some url"); long finish = System.currentTimeMillis(); long totalTime = finish - start; System.out.println("Total Time for page load::+totalTime) }
Leave a Reply