Although you can have multiple tabs open, IBM Robotic Process Automation considers each browser tab independently. Your bot can interact with only one tab at a time, therefore, when working with multiple browser tabs, you need to switch tabs whenever you want to interact with a different tab.
IBM RPA can work only with tabs from the web automation scope. This means it can only interact with tabs generated by commands inside the Start Browser (
Use the Find or Attach Tab (
webWaitTab) command to search for a tab and attach it to the web automation scope, making it the active tab.
Starting and closing the browser
Use the following commands to start or close a new browser tab or window:
- Start browser command
Starts a new browser instance.
- Close browser command
Terminates the current browser instance.
Switch browsers and browser tabs
Use these commands to switch between current browser instances or browser tabs:
Find an open browser instance using the Find Internet Explorer Browser command.
This command searches for an Internet Explorer browser window open on your device and attaches it to a new browser instance in the script.
Use the Find window or Attach window commands to manipulate the browser window.
Use the following commands to perform actions in the current active browser:
Navigate to a specific web page.
Refresh web page command
Refreshes a web page.
Forward To Next Page command
Advances to the next web page recorded in the browsing history.
Back to Previous Page command
Returns to the previous web page recorded in the browsing history.
Handle alert command
Handles alerts that may appear while web browsing and can either accept or ignore them.