Data point: --browser-url against a non-Chromium CDP server — full tool battery passes #2762
yinnho
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We've been testing how far
--browser-urlreaches beyond real Chrome by pointing it at aginxbrowser — a browser for AI agents implemented in Rust (own CSS/layout/paint stack, V8 via deno_core for JS, no Chromium) that exposes a CDP server via--cdp-port.Setup:
aginxbrowser --cdp-port 9223+chrome-devtools-mcp@1.9.0 --browser-url http://127.0.0.1:9223, driven over MCP stdio (initialize → tools/list → tools/call).Results against v1.9.0:
Accessibility.getFullAXTree; the uid tree came out correct (RootWebArea → heading level=1 → StaticText)6 * 7→ 42)Protocol error (Browser.setContentsSize): Unknown Browser methodThe one gap was on our side:
Browser.setContentsSize— the Chrome ≥129 contents-resize pathresize_pageuses — wasn't implemented by our CDP server yet. We've now wired it up (andBrowser.getWindowForTargetreturns the live viewport instead of a fixed 1280×720), after which the whole battery passes.Two takeaways that might be useful here:
--browser-urlmakes the server genuinely engine-agnostic — nothing in the core flow (pages / snapshot / evaluate / screenshot / network / resize) depended on Chrome-only behavior beyond documented CDP methods.pageIdargument (parsed from thelist_pagesmarkdown) — worth knowing for anyone scripting the MCP layer directly.Happy to share the probe script if anyone wants to run the same battery against another CDP server implementation.
All reactions