Extensions
Upload a Chrome extension once, then name it when you create a browser. It is installed before the browser is handed to you.
Upload
Section titled “Upload”Zip the extension’s folder so that manifest.json is at the root of the zip, then upload it on the dashboard’s
Extensions page, with the SDK, or with the API:
extension = client.extensions.create("my-extension.zip")print(extension.id, extension.name, extension.version)curl -X POST https://browser.datum.network/api/v4/extensions \ -H "X-Browser-Use-API-Key: $DATUM_API_KEY" \ -F file=@my-extension.zip# → { "id": "…", "name": "My extension", "version": "1.2.0", … }The name and version come from the manifest.
What is accepted
Section titled “What is accepted”- Manifest V3.
- 100 MB zipped, 256 MB and 10,000 files unzipped, at most. 100 extensions an organization.
- Refused: a zip over 100 MB (
413); akeyin the manifest, and the permissionsdebugger,proxy,processes,dns,experimentalandenterprise.*, which would let an extension get around the browser’s controls (422).
Use it
Section titled “Use it”browser = client.browsers.create(extension_ids=[extension.id])for each in browser.extensions: print(each.id, each.runtime_id) # chrome-extension://<runtime_id>/Up to three extensions a browser, 512 MB unzipped together. runtimeId is Chrome’s own id for the extension, for
opening its pages.
Deleting an extension leaves the browsers already running with it untouched.