Refresh Web Page
Refreshes a 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.
webRefresh
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 Refresh Web Page (webRefresh
) command.
Example
The browser starts by navigating to the IBM homepage. The Refresh Web Page command refreshes the page.
// Starts the browser.
webStart --name browser --type "Chrome"
// Navigates to IBM homepage.
webNavigate --url "https://www.ibm.com"
// Waits 3 seconds.
webWait --timeout 00:00:10
// Refreshs the page.
webRefresh
// Closes the browser.
webClose --name browser --leavebrowseropen