Navigate

Navigates to a web address.

Command availability: IBM RPA SaaS and IBM RPA on premises

Description

Navigates to a web address using the browser attached to the web automation scope.

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.

webNavigate --url(String)

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 Navigate (webNavigate) 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
URL url Required Text Destination URL.

Example

Starts a browser and navigates to the IBM homepage.

// Starts the browser.
webStart --name browser --type "Chrome"
// Navigates to IBM homepage.
webNavigate --url "https://www.ibm.com"
// Closes the browser.
webClose --name browser --leavebrowseropen