agent-browser connect persists a CDP browser connection
Introduced 2026-01-23 · score 0.93
HOW TO USE IT
When a browser is available through CDP, run `agent-browser connect <port>` once, then run inspection commands such as `agent-browser snapshot` without `--cdp`.
agent-browser connect 9222
agent-browser snapshotWHY THIS HELPS
Run subsequent browser inspection commands against a browser available through CDP.
REQUIREMENTS AND LIMITATIONS
- Version: v0.6.0
- <port> (required): CDP port for the existing browser.
- snapshot (required): Returns the accessibility tree with refs.
- Prerequisite: Start Chrome with remote debugging enabled, for example `google-chrome --remote-debugging-port=9222`.
FIRST-PARTY EVIDENCE
- https://github.com/vercel-labs/agent-browser/releases/tag/v0.6.0
- https://github.com/vercel-labs/agent-browser/blob/v0.6.0/README.md
Check the installed version and the source before using it. Entry JSON