Linux: add Brave Origin profile path to local browser discovery

Author: DilanRCCreated Sep 23, 2026Updated Sep 23, 2026

Summary

On Linux, Browser Harness 0.1.13 detects that a Chromium-family browser is running, but it does not discover Brave Origin's native profile directory.

Brave Origin stores its profile at:

~/.config/BraveSoftware/Brave-Origin

That path is present for macOS in _MAC_PROFILES, but the equivalent Linux path is missing from _LINUX_PROFILES.

Environment

  • CachyOS / Arch Linux
  • Hyprland / Wayland
  • browser-harness 0.1.13
  • browser-use 0.13.10
  • Python 3.12.13
  • Brave Origin

Reproduction

Remote debugging is enabled in Brave Origin.

Brave reports a DevTools server, for example:

127.0.0.1:45263

and the DevToolsActivePort file exists:

~/.config/BraveSoftware/Brave-Origin/DevToolsActivePort

with content like:

45263
/devtools/browser/<uuid>

However:

browser-use --doctor

reports:

[ok  ] chrome running
[FAIL] daemon alive
[FAIL] active browser connections

and the daemon log contains:

fatal: chrome-not-running: no supported Chromium-family browser is running -- start Chrome, then retry

Direct BU_CDP_URL=http://127.0.0.1:45263 is not sufficient on this Chromium build because /json/version returns HTTP 404. Direct BU_CDP_WS using the websocket path from DevToolsActivePort works correctly.

Confirmed fix

Adding this entry to _LINUX_PROFILES in src/browser_harness/daemon.py fixes local discovery:

python
".config/BraveSoftware/Brave-Origin",

After adding it:

browser-use --doctor
  [ok  ] chrome running
  [ok  ] daemon alive
  [ok  ] active browser connections — 1

and page_info() / js("document.title") work against the existing Brave Origin session.

Suggested change

Add:

python
".config/BraveSoftware/Brave-Origin",

to _LINUX_PROFILES.

This would mirror the existing Brave Origin support already present in _MAC_PROFILES.

Source: browser-use/browser-harness