Linux: add Brave Origin profile path to local browser discovery
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-OriginThat 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:45263and the DevToolsActivePort file exists:
~/.config/BraveSoftware/Brave-Origin/DevToolsActivePortwith content like:
45263
/devtools/browser/<uuid>However:
browser-use --doctorreports:
[ok ] chrome running
[FAIL] daemon alive
[FAIL] active browser connectionsand the daemon log contains:
fatal: chrome-not-running: no supported Chromium-family browser is running -- start Chrome, then retryDirect 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:
".config/BraveSoftware/Brave-Origin",After adding it:
browser-use --doctor
[ok ] chrome running
[ok ] daemon alive
[ok ] active browser connections — 1and page_info() / js("document.title") work against the existing Brave Origin session.
Suggested change
Add:
".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