Skip to content

fix(browser): allow explicit CDP override without local agent-browser#19670

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-8c54fd4a
May 4, 2026
Merged

fix(browser): allow explicit CDP override without local agent-browser#19670
teknium1 merged 1 commit into
mainfrom
hermes/hermes-8c54fd4a

Conversation

@teknium1
Copy link
Copy Markdown
Contributor

@teknium1 teknium1 commented May 4, 2026

Salvage of #16070 onto current main.

Summary

check_browser_requirements() always required a local agent-browser binary even when BROWSER_CDP_URL was set, producing a false negative for users who connect to a remote CDP endpoint directly (e.g. a sidecar Chrome, a pre-configured CDP tunnel). Treat _get_cdp_override() the same way as Camofox mode: valid backend, skip the local binary check.

Validation

scripts/run_tests.sh tests/tools/test_browser_homebrew_paths.py -k cdp_override -> passed

Original PR: #16070

Treat explicit CDP override mode as a valid browser backend even when agent-browser is absent, and add a regression test to prevent false-negative availability gating.
@teknium1 teknium1 merged commit e69d11d into main May 4, 2026
7 of 10 checks passed
@teknium1 teknium1 deleted the hermes/hermes-8c54fd4a branch May 4, 2026 10:12
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists tool/browser Browser automation (CDP, Playwright) labels May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Medium — degraded but workaround exists tool/browser Browser automation (CDP, Playwright) type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants