How does clickAndWait work?

[ clickAndWait waits for a page load event a]

Does it work with the page substructure, e.g. code to determine when it is done loading? Because in that case I think it will be better to use than the [pause] command that I have been using.

Hey there,

The difference between clickAndWait and click is that clickAndWait waits for a page load event after the click. So clickAndWait = click +waitForPageToLoad.

So, if you clickAndWait on a link that directs you to another page, it will wait for this page to load before moving to the next task in your code.

Source: https://a9t9.com/kantu/docs/selenium-ide/click