Wait For

Waits for a given element or text value to exist on the page.


Waits for a given element or text value to exist on the page. It will wait up to 30 seconds before timing out and reporting an error.

Usage

[MADCOW:htmlElementReference].waitFor
[MADCOW:htmlElementReference].waitFor = <<text value to wait for>>

Examples

Wait for the element to appear

myCountryField.waitFor

Wait for a specific value to appear in an element

myCountryField.waitFor = New Zealand