seleniumselenium-ide

How to get Selenium to wait for a transition page to redirect before running an assertion


I have a fairly standard situation: Click a button, it loads a transition page with a progress bar or something, and then that page redirects to the next page, which takes a while to load.

I want to run assertions on the final page, not the transition page. How do I tell Selenium IDE to wait till the final page loads before performing the assertions?

Thank you.


Solution

  • A simple approach would be wait for some "particular" text on that final page, see "waitForText" command for further info on it.