Skip to content

Add Brave browser to CDP auto-detection#101

Open
arimxyer wants to merge 1 commit intovercel-labs:mainfrom
arimxyer:feat/add-brave-browser-detection
Open

Add Brave browser to CDP auto-detection#101
arimxyer wants to merge 1 commit intovercel-labs:mainfrom
arimxyer:feat/add-brave-browser-detection

Conversation

@arimxyer
Copy link
Copy Markdown

Summary

  • Adds brave and brave-browser to the Chromium executable fallback list in launchChrome()
  • Brave is Chromium-based and supports CDP via --remote-debugging-port, making it a drop-in addition
  • Without this, Linux users running Brave must always pass --browser /usr/bin/brave manually

Details

  • brave is the binary name on Arch-based distros (Arch, CachyOS, Manjaro, etc.)
  • brave-browser is the binary name on Debian/Ubuntu
  • Placed after chromium and before the macOS app bundle paths, matching the existing generic-first ordering

Test plan

  • Verified on CachyOS (Arch-based) with Brave at /usr/bin/braved3k launches Brave and connects via CDP without needing --browser
  • Existing Chrome/Chromium detection is unaffected (Brave entries are only reached if earlier candidates aren't found)

🤖 Generated with Claude Code

Brave is a popular Chromium-based browser on Linux (and macOS) that
supports CDP via --remote-debugging-port. Without this, Linux users
running Brave as their primary browser must always pass --browser manually.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 30, 2026

@arimxyer is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant