Wait For Element
From UBot Studio
(Difference between revisions)
(Created page with "This command allows you to delay the script until an element on the page is present. It can be used to slow down the flow of a script to make sure fields are loaded and pages ...") |
Revision as of 19:54, 22 December 2012
This command allows you to delay the script until an element on the page is present. It can be used to slow down the flow of a script to make sure fields are loaded and pages have finished loading before fields are field or items are clicked.
Example
navigate("www.bing.com", "Wait") wait for element(<name="q">, "", "Appear") type text(<name="q">, "this is a test", "Standard") wait(2) click(<name="go">, "Left Click", "No")
The script above will wait until the search field has loaded before continuing on with the rest of the script.