Wait for Web Page Requests
Verb: webWait
Awaits the browser to receive the response to all requests made on the page.
Syntax
webWait [--timeout(TimeSpan)]
Inputs
| Script | Designer | Required | AcceptedTypes | Description |
|---|---|---|---|---|
| --timeout | Timeout | Optional | Time Span, Number, Text | Time to load all page components.
In case no value is defined for the timeout parameter, the execution uses the context timeout defined by the Set Timeout command. If that command is not used on the script, the default timeout is 5 seconds. |
Example
Launch the browser, navigate to the Google page, and await the default time for all requests to be answered.
webStart --name browser --type "Chrome"
webNavigate --url "google.com"
webWait
webClose --name browser