Jcode Browser Automation: Default Browser, Setup and Walkthrough

Preview: browser tool actions have changed

The browser-tool schema reviewed in v1.0.0-preview.136 makes eval the primary route for DOM inspection and interaction and removes several redundant helper actions from the model-facing schema, including fill_form, select, wait and scroll. Native click, type and press remain exposed. If a saved agent prompt names an unavailable helper, inspect the tool schema for your installed build. This concerns agent tool actions, not a replacement for the browser detect/setup/status CLI steps below.

Source-reviewed on 5 November 2026; not runtime-tested. This is an opt-in experimental prerelease. Stable remains v0.99.1. Existing screenshots, test dates and limitations below are retained.

Experimental v1.0.0-preview.199, source reviewed 9 November 2026. When handing off a browser task, specify the browser you want to use. In the preview, scoped inputs inherit that browser choice across the handoff.

Use Jcode with Chrome, Edge, Brave, Chromium, Safari or Firefox. Start by checking the selected browser, then set up its bridge and confirm the connection.

The quick route

Run jcode browser detect, check the target line, then use setup and status with that same browser name.

Browser selection in 45 seconds

This narrated command walkthrough shows automatic detection, an explicit Chrome selection, and a Safari override.

Read the video steps
  1. Run jcode browser detect and read the selected target.
  2. Add chrome to select Chrome explicitly.
  3. Use JCODE_BROWSER=safari for a command-scoped override.
  4. Continue with setup and status for the same browser.

1. Choose the browser’s CLI name

BrowserCLI nameSetup command
Google Chromechromejcode browser setup chrome
Microsoft Edgeedgejcode browser setup edge
Bravebravejcode browser setup brave
Chromiumchromiumjcode browser setup chromium
Safarisafarijcode browser setup safari
Firefoxfirefoxjcode browser setup firefox

Safari is the macOS option. Pick a browser that is installed on your computer.

2. Detect the default browser

jcode browser detect

Read target to see the selected browser, system default for the operating system’s default, and installed for the available choices.

Jcode detects Chrome as the default and lists installed browsers
Automatic detection selects Chrome on this Mac and lists Chrome and Safari as installed.

3. Choose a different target

Add the browser name to select it for the command:

jcode browser detect chrome
Explicit Chrome selection in Jcode browser detection
The explicit chrome argument selects Chrome.

On macOS or Linux, use a command-scoped environment variable when you want an override:

JCODE_BROWSER=safari jcode browser detect
A command-scoped Safari browser override
The override selects Safari while the system default remains Chrome.

Selection follows this order: explicit browser argument, JCODE_BROWSER, saved Jcode preference, system default, then installed-browser fallback. Keep your chosen browser name in the setup and status commands.

4. Set up the browser bridge

jcode browser setup chrome

Replace chrome with your target. Follow the asset and extension steps printed by setup.

  • Chrome, Edge, Brave and Chromium: open the browser’s Extensions page, enable Developer mode, choose Load unpacked, and select the extension folder printed by setup. Reload an existing extension after an update.
  • Firefox: complete the extension installation prompt opened by setup.
  • Safari: follow the Safari extension app and relay instructions printed by setup.

Keep the browser profile containing the extension open.

5. Check the bridge connection

jcode browser status chrome

Use the same target as setup. Look at the selected browser, setup state and bridge response together. A successful diagnostic command can still report that the extension needs attention.

Browser is closed

Open the selected browser and its extension-enabled profile, then run status again.

Bridge is not responding

Check that the extension is enabled in that exact profile. Reload it, follow any remaining setup instructions, and repeat the status command.

Different browser selected

Use an explicit browser name and check for an environment override or saved preference.

Repair a missing Windows browser host

For a missing firefox-agent-bridge-host.exe message, update Jcode and rerun browser setup so it can download and register the matching native host.

jcode --version
jcode update
jcode browser setup firefox
jcode browser status firefox

Use your selected browser name when it differs from Firefox. If setup names an unavailable asset, keep the exact filename and setup output so the packaging problem can be identified.

Continue: Choose a provider · Fix provider errors · Use voice input

Official Jcode documentation