Contexts
Every developer browser is a context with a name.browser_session actions:
Contexts run in parallel and are independent browsers: separate cookies, storage and windows. Use them for “work” versus “personal” logins, cross-browser checks, or different proxies. Tab IDs are unique across developer contexts and connected extension browsers.
browser_tabs lists the browser and context for each developer tab. A context name can belong to only one running browser at a time; use names such as chrome, brave, firefox and zen when running them together.
To open another tab in a specific developer browser, pass mode: "dev" and its context to browser_tabs with action: "new". For existing tabs, use the returned tabId. See using multiple browsers for examples.
Profiles
Profiles persist between launches:"chrome" and the compatibility choice "chromium" use the same Chrome profile paths. BROWSPARK_PROFILES also changes the parent of the .brave, .firefox and .zen directories. Each browser keeps its own saved profiles.
Log in once and the session is there next time. delete wipes a stopped profile; pass both its context and browser to select it explicitly.
Launch options
headless: trueruns without a window. Chromium browsers support the live view; use screenshots on Firefox and Zen.devtoolsopens Chromium DevTools on every tab (default on unless headless) so you can follow the agent in the standard panels. Firefox and Zen rejectdevtools: true.proxytakeshttp://host:portorsocks5://host:portand applies to the whole context.extensionsloads unpacked extension directories in Chromium developer browsers through the protocol after launch. Firefox and Zen reject this option. Availability depends on the selected Chromium build.argsappends command-line switches for the selected browser.browserPathpicks the executable for the selectedbrowser.BROWSPARK_CHROME,BROWSPARK_BRAVE,BROWSPARK_FIREFOXandBROWSPARK_ZENprovide corresponding defaults. LegacychromePathandfirefoxPathoptions remain supported.downloadDirselects the browser’s download directory.browser_statusreports the active directory. The default is~/.browspark/downloads/<browser>/<context>; the compatibility choice"chromium"retains~/.browspark/downloads/<context>. See Firefox and Zen coverage for browser differences.
Live view
Running Chromium contexts print a live-view URL inbrowser_status:
CDP endpoint
For Chrome and Brave,browser_status and the launch result also print the browser’s CDP WebSocket endpoint. Playwright and Puppeteer can attach to it:
connectOverCDP.
Cleanup
The companion closes every developer browser it launched when it exits (Ctrl-C, stdin closing, SIGTERM).browser_session {action: "close", all: true} does it on demand.