Get extension id
Get extension id is an action that instructs the browser to extract the unique identifier (Extension ID) of the extensions installed within the current browser Profile. This ID is extremely important for you to use in subsequent commands, such as directly navigating to the configuration page or wallet of that extension (for example: quickly opening MetaMask, Tonkeeper, OKX Wallet...).
🎥 Watch the tutorial video: Here.
Configuration parameters:
Extension name: The name of the extension displayed in the browser from which you want to get the ID.
Note: The system applies a relative search mechanism, you do not need to enter the entire name accurately but just include a distinctive phrase (For example: just enter
MetaMaskorOKXinstead of typing the full lengthy name).
Output variable: The variable name to store the ID string after extraction (For example: store it in the variable
extId).
⚠️ Mandatory operational note for successful ID retrieval:
Due to the security mechanism and internal data flow management of the Chromium browser engine, if you are on a regular website and call this command immediately, the system will not be able to scan the list of extensions. To ensure this action works 100% accurately, you need to follow the procedure below:
It is mandatory to access the management page first: Your script must use the Go to URL action to access the internal address of the browser
chrome://extensions/first.A delay is mandatory: After redirecting to the extensions management page, you must insert a short Delay command (about 1 - 2 seconds). This delay allows the browser's management interface to fully load the source code structure of the extensions, avoiding running too quickly which may cause the script to fail to capture the ID.
Practical example: Workflow to get the extension ID to automatically open the wallet
When you create an automation script for Crypto/Airdrop tasks, you want to get the ID of the MetaMask wallet to quickly access the wallet unlock page:
Step 1: Use the Go to URL action ➔ Enter the URL:
chrome://extensions/.Step 2: Drag the Delay action ➔ Enter the wait time:
2000(equivalent to 2 seconds).Step 3: Drag the Get extension id action:
Extension name:
MetaMask(just needs to contain this keyword).Output variable:
metaMaskId.
Step 4: After obtaining the ID stored in the variable
$metaMaskId, you can use the next Go to URL action with the structure:chrome-extension://$metaMaskId/home.htmlto immediately bring up the wallet interface for processing without needing to manually click search on the toolbar.



Last updated
Was this helpful?