We can add a Chrome Extension to your Automation Session in Testsigma in 2 simple steps:

1. Obtain the CRX/CRX3 file for the extension/s and get the path.

2. Specify the Extensions path in the Desired Capabilities.


Obtaining the CRX file for the extension

1. If you already have the CRX file, you can skip to the next step.


2. If you have the chrome extension folder(uncompressed) in your local machine, you can compile it to CRX format by using the Google Chrome Browser installed in your machines.

Compiling chrome extension folder to CRX/CRX3 format


3. If you have the chrome extension URL from Chrome Web Store, you can use the below utility to download the file. Search for the extension, open the extension details page and copy the page URL.

https://chrome-extension-downloader.com/




Specify the Extensions path in the Desired Capabilities

Add an Execution Configuration in Testsigma and add the following Desired Capability:


NameData TypeValue
goog:chromeOptionsString{"extensions":["path/to/extension.crx"]}


To add more than one extension, give the value in the format:

{"extensions":["path/to/extension1.crx"],["path/to/extension2.crx"]}


That's all we need to do in order to add an extension to an Automation Session in Testsigma using Desired Capabilities.


Once the execution starts, it will automatically take the file and install it to the Browser. To confirm whether the given extension is added or not, you can check the extension icon in the top right corner of the browser as shown in the below screenshot.




Welcome to the era of #SmartTestAutomation!