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