Browser Trace

0•

Captures full Chrome DevTools Protocol traces, screenshots, and DOM snapshots alongside active browser automations for post-run debugging and analysis.

Browser Trace is a specialized observability tool that attaches a secondary, read-only Chrome DevTools Protocol (CDP) client to ongoing browser automation runs—such as Playwright, Stagehand, Browserbase, or native Chrome. Without interfering with main automation drivers, it streams network events, console logs, runtime errors, and DOM changes into NDJSON, while concurrently capturing periodic screenshots and HTML snapshots. It automatically bisects traces into per-page buckets and structured JSON summaries, allowing developers and AI agents to audit traffic, troubleshoot failed executions, and inspect session state using simple CLI queries.

Características Principales

01Parallel sampling of periodic DOM dumps and screenshots matched by timestamps
02Non-intrusive secondary CDP listener for local Chrome and remote Browserbase sessions
030 GitHub stars
04Included CLI query tooling to filter failed requests, HTTP statuses, and errors
05Automated bisection of raw event firehoses into per-page searchable JSONL buckets
06Comprehensive trace capture covering Network, Console, Runtime, and Page domains

Casos de Uso

01Feeding structured per-page performance and error summaries back into autonomous agent loops
02Attaching non-disruptive, live telemetry to in-flight browser sessions on local or Browserbase instances
03Debugging failed automation runs involving hung navigations, missing elements, or runtime exceptions