Active Tab
Set the currently displayed tab on the screen as the active tab.
In this case, I want to close the currently active tab, then select the tab closest to the newly closed tab as the active tab and perform a mouse scroll action on that tab.
First, I will configure the Close Tab
node to close the current tab.
Next, configure the Delay
node to pause for 2 seconds.
Then, use the Activity Tab node to mark the current page as the active tab.
Finally, configure the Scroll element
node to scroll on the newly marked active tab.
The script will then look like this:
When running the script, it will perform as follows: