using watir-webdriver [ http://github.com/jarib/watir-webdriver ]
how do i wait for a page to load after i click a link?
at the moment i am doing
sleep n
but this is not ideal as the page response varies so much.
is their a method to test whether the page is ready or whether their is a certain element in the page. I understand in the normal watir gem there is Watir::Waiter.wait_until or something similar but I cannot see this in the webdriver version.