I have a java selenium script where I am making a call to com.thoughtworks.selenium.DefaultSelenium.waitForPageToLoad(String). Which condition in the browser is selenium waiting for that will tell it that the page is done loading?
I have a java selenium script where I am making a call to com.thoughtworks.selenium.DefaultSelenium.waitForPageToLoad(String)
Share
Selenium is waiting for a
pageLoadevent to be fired by the browser. If you look in the source for selenium, I think the logic forwaitForPageToLoadcan be found in selenium-browserbot.js.