Configuration
agent-browser becomes more predictable when you choose one of two modes and keep it consistent:
- Connect mode: attach to an already-running browser session
- Launch mode: let the tool start or manage the browser for you
CDP Mode with zzci/chrome
When you already have zzci/chrome running, connect to its DevTools endpoint directly:
agent-browser connect 9222
agent-browser snapshotFor one-shot operations, point the command at the same session with its CDP option so the command runs against the existing browser instead of launching a fresh one.