Quick Reference for "pagewait" Click on command to see examples & comments
Script Level Commands Usage: pagewait Description: Makes the scripting engine wait until the next page finishes loading before carrying out the next command.:
Quick Reference for "click" Click on command to see examples & comments
DOM Level Commands Usage: click:element Description: Clicks a DOM element specified by element.:dom.input.btnG
pagewait
Quick Reference for "pagewait" Click on command to see examples & comments
Script Level Commands Usage: pagewait Description: Makes the scripting engine wait until the next page finishes loading before carrying out the next command. click
Quick Reference for "click" Click on command to see examples & comments
DOM Level Commands Usage: click:element Description: Clicks a DOM element specified by element.:dom.a.Images
...
The above code would click the search button, wait for the next page to load, then click on the Images link.
Quick Reference for "navigate" Click on command to see examples & comments
Browser Level Commands Usage: navigate:url Description: Makes the browser navigate to the URL specified.:google.com
pagewait
Quick Reference for "pagewait" Click on command to see examples & comments
Script Level Commands Usage: pagewait Description: Makes the scripting engine wait until the next page finishes loading before carrying out the next command. dom.input.q.value=webDOM
...
Why? because the "navigate" command already assumes the page has to finish loading before running the next line. In this bad example, what you're telling webDOM is that after it's done waiting for the page to finish loading, wait for the page to finish loading again. This will cause unwanted results and will most likely stop the rest of the script from running.