Reputation: 6345
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?
Upvotes: 0
Views: 470
Reputation: 2079
Selenium is waiting for a pageLoad
event to be fired by the browser. If you look in the source for selenium, I think the logic for waitForPageToLoad
can be found in selenium-browserbot.js.
Upvotes: 1