Get Tab URL
Retrieve the URLs of tabs.
Select Tab
Choose to retrieve URLs of tabs based on the following options.
Active Tab
Retrieve the URL of the currently active tab.
All Tabs
Retrieve the URLs of all tabs with the following options. If no parameters are configured, I will obtain all URLs of the tabs currently open in the profile.
To retrieve specific tabs, configure the following parameters:
Match URL Pattern: Retrieve URLs of tabs starting with
https://www.youtube.com
.Tab Title: Retrieve URLs of tabs with the specified title.
For example, the current profile has multiple Youtube
and eBay
tabs.
To retrieve only Youtube
tabs, I can configure the node as follows:
Or to retrieve only eBay
tabs, I can configure as follows:
TIP
You can only configure one of the two options: Match URL Pattern
or Tab Title
. If both are configured, no URLs will be returned.
Assign to Variable
After retrieving the URL, I can assign it to a variable.
- Variable Name: The name of the variable to assign the URL.
Insert into Table
After retrieving the URL, I can insert it into a table.
- Select Column: The column where the URL will be inserted.
Practical Examples
Here, I will demonstrate how to use this node in practical scenarios.
Get Active Page
I want to retrieve the URL of the product page currently displayed here:
To obtain that URL, I will configure the Get Tab URL
node as follows:
After running this node, the variable a
will receive the URL as follows:
Get Multiple Pages
For example, the current profile has multiple Youtube
and eBay
tabs:
When I want to retrieve specific Youtube
tabs to open in new tabs, I need to configure as follows:
Then, the variable a
will receive the URL values as follows: