title: WaitForPagetoLoad function issue in webdriver
body: <p>I am using Waitforpagetoload in my automation,</p>
  
  <p>When i give 20000 test case fails but passes if i give 60000.</p>
  
  <p>when i compare the time by printing the current time in milli secs, the page is not taking more than 50ms.</p>
  
  <p>How exactly the waitforpagetoload function works? </p>