WaitForPageToLoad (max. time to wait in milliseconds) - Selenium IDE command

The WaitForPageToLoad tells the IDE to wait for a web page to load (page load event fired). It is usually not needed as all "...andWait" commands include it e. g. in ClickandWait. So you will only need it in very special cases, like when a website fires multiple page load events.

Alternative "Wait for Page to Load" method

Another option to check that a page is loaded are the visual GUI testing commands visualAssert and visualVerify. These commands wait for an image to appear. This can be any image that is unique to the page that we are waiting for. Since this visual "wait for page load" solution does not rely on any HTML internals, it works with even the most complex web apps and can be used when the classic Selenium IDE-style page load detection fails.

WaitForPageToLoad Example

Command Target Pattern/Text
open https://ui.vision/
assertText link=Free Web Automation Free Web Automation
WaitForPageToLoad 3000

Works in

Ui.Vision RPA for Chrome Selenium IDE, Ui.Vision RPA for Firefox Selenium IDE, Firefox IDE Classic

Related Demo Macros

ClickandWait is part of almost every demo macro-

The ready-to-import-and-run source code of all demo macros can be found in the Open-Source RPA software Github repository.

See also

clickAndWait, Web Automation Extension User Manual, Selenium IDE commands, Classic Firefox Selenium IDE.

Anything wrong or missing on this page? Suggestions?

...then please contact us.

<em>Ui.Vision RPA</em> Selenium IDE for Chrome and Firefox - Web Test Automation

Fresh from the Ui.Vision Forum: The Latest 3 RPA Software Discussions

← Meet the Ui.Vision team and users on our RPA software forum.