appium/appium — pull request #720 by snevesbarros (2013-06-06 13:29:12+00:00)
Title: navigate to url fix which speeds up execution on real devices

This fix only works on real devices and leaves the simulator un-affected.

We have a minor 500 ms wait as it was asking if the page had finished loading whilst sending the is ready request. Sometimes it came back as true before it had even done anything.

Move the required 60 seconds timeout into the pageLoad method (which check the page status every 500 ms for 60 seconds, rather than waiting 60 seconds).