Pagetimeout in Selenium

 

Sets the amount of time to wait for a page load to complete before throwing an error. 


driver.manage().timeouts().pageLoadTimeout(20, TimeUnit.SECONDS);

      driver.get("https://easypeasyautomation.blogspot.com/");

Comments

Popular Posts