Wait
Last updated
Last updated
Type: wait
Request that the browser waits a given amount of time or for a particular item to appear on the page.
Name | Type | Required | Description |
---|---|---|---|
See universal parameters.
The following code will wait 1 second and then continue with the next action, if provided.
The following code will wait for a table to appear on the page for a maximum of 5 seconds. If the table has not appeared after 5 seconds the next action will be executed, if provided.
time
integer
The time in milliseconds that the browser should wait
selector
string
The selector that defines the page element that the browser should wait to appear.
timeout
integer
The maximum amount of time the browser should wait for the provided selector to appear. Default: 10,000 (10s)