Wait For Browser Event

From UBot Studio
Revision as of 18:08, 24 December 2012 by LillyT (Talk | contribs)

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

This command waits for a browser event to happen such as a page being loaded and DOM ready. The options for browser events are:

DOM Ready (To read more about DOM, please see [1].) Page Loaded Everything Loaded

File:Browserevent.png

Example

navigate("google.com", "Wait")
wait for browser event("DOM Ready", "")
type text(<name="q">, "Holidays", "Standard")

Running the script will wait until the DOM is ready before continuing on with the rest of the script.

navigate("google.com", "Wait")
wait for browser event("Page Loaded", "")
type text(<name="q">, "Holidays", "Standard")

Running the script will wait until the DOM is ready before continuing on with the rest of the script.

navigate("google.com", "Wait")
wait for browser event("Everything Loaded", "")
type text(<name="q">, "Holidays", "Standard")

Running the script will wait until the DOM is ready before continuing on with the rest of the script.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox