Wait For Element

From UBot Studio
Revision as of 19:54, 22 December 2012 by LillyT (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

File:Waitforelement.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox