Features

Browser Extension

While running Automated tests, you might want to have a browser extension installed. Below is some more information on how to add a browser extension to a Chrome, Firefox, Edge or Safari browser running in the TestingBot cloud.

To get started, make sure you have a zip file of the extension and upload it either to a public URL or use our TestingBot Storage.


Next, you can specify the load-extension capability at the start of your test.


Example:
"load-extension" : "https://..."
Example (Selenium 4):
"tb:options" : {
  "load-extension" : "https://..."
}

Browser Supported Format Example
Chrome .zip file, containing the extension source code (manifest.json, src/ directory, ...) https://.../extension.zip
Firefox .zip file, containing the extension source code (manifest.json, src/ directory, lib/ directory, ...) https://.../extension.zip
Edge .zip file, containing the extension source code (manifest.json, src/ directory, ...) https://.../extension.zip
Safari (and Safari Technology Preview) .safariextz file https://.../extension.safariextz

TestingBot Storage


With TestingBot Storage, you can upload your extension on our servers.
The advantage of this is that our test VMs can immediately download your extension from our own network, which is much faster than downloading from the public internet. The API call will return a unique identifier, similar to tb://efe932jfk.
You can then use this identifier "load-extension" : "tb://..."