Using watir-webdriver, how do I wait for a page to load after I click a link?
At the moment I am using:
sleep n
But this is not ideal a
You can use the wait_until or waituntilExists methods.
wait_until
waituntilExists