browser-trace - Capture and Bisect Browser CDP Traces
Captures a read-only CDP event stream with screenshots and DOM dumps, then splits the data into searchable per-domain and per-page files.
Tags
Updated: 2026-09-30Capabilities
What this skill does
- Attach a read-only CDP client
- Capture CDP events as NDJSON
- Poll screenshots and DOM dumps
- Bisect traces into searchable buckets
- Split events into per-page slices
- Fetch Browserbase session artifacts
Inputs
- Running CDP browser session
- CDP target or connect URL
- Run identifier
- Browserbase session ID
- Browserbase API key
Outputs
- Raw CDP event stream
- Timestamped screenshots and DOM dumps
- Per-domain JSONL buckets
- Per-page trace slices and summaries
- Browserbase session artifacts
- Updated run metadata
Requirements
- Node.js 18 or newer
- browse CLI with cdp support
- CDP-enabled browser session
- jq for optional querying
- Browserbase API key for remote sessions
