0

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?

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

Is this true for earlier version of IE (6 and 7)
AFAIK... I haven't noticed Selenium having different behavior based on the version of IE.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.