Selenium for Web Crawling : Waiting for Page To Be Loaded

Sometimes your script really need to wait until all the element loaded completely in a page. Here is a sample how to call waitForPageLoaded method in your script :    

Here is the waitForPageLoaded method

 

  

Leave a Reply

Your email address will not be published. Required fields are marked *