Wait for Web Page Requests

Waits for responses of all requests made on the web page.

Command availability: IBM RPA SaaS and IBM RPA on premises

Script syntax

IBM RPA's proprietary scripting language has a syntax similar to other programming languages. The script syntax defines the command's syntax in the script file. You can work with this syntax in IBM RPA Studio's Script mode.

webWait [--timeout(TimeSpan)]

Dependencies

Use the Start Browser (webStart) command to start a browser or use the Find Internet Explorer Browser (findBrowser) command to attach the Microsoft Internet Explorer before using Wait for Web Page Requests (webWait) command.

Input parameter

The following table displays the list of input parameters available in this command. In the table, you can see the parameter name when working in IBM RPA Studio's Script mode and its Designer mode equivalent label.

Designer mode label Script mode name Required Accepted variable types Description
Timeout timeout Optional Time Span, Number, Text Timeout to the browser receive the response of all requests.

Example

Launches the browser, navigates to the IBM page, and awaits the default timeout for all requests to be answered.

webStart --name browser --type "Chrome"
webNavigate --url "ibm.com"
webWait
webClose --name browser --leavebrowseropen