You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Browser recording and replay for the browser agent #51662
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Browser recording and replay for the native browser agent (Phase 5).
Delivered as a stacked branch (browser-recording, on top of browser-agent / #51610):
Always-on recording in the driver — every executed step is captured with URL, action, parameters (clicks, inputs), success/error and timestamp, plus cumulative console (200 entries), network (500 entries) and screenshot (30 cap) buffers. close persists the recording so replay still works after the browser exits.
recording action — exports the Browser Test Recording artifact: a self-contained HTML file (every field escaped against injection) with the session timeline, step table, console/network tables and embedded screenshots, plus the raw JSON alongside it. The artifact is the visual evidence of the execution.
replay action — re-runs a recorded session through the normal tool path (schema validation, honest errors, permissions) from an exported file path or from the last recorded session. Steps executed during replay carry a protocol flag so the original recording is never rewritten; meta-actions are skipped; replay caps at 100 steps with a per-step ok/failed summary.
Subagent prompt — the browser subagent exports the artifact after driving the page and can repeat or replay a session (steps 7–8 of its loop).
Benefits: a browser session becomes reproducible evidence — an agent's web verification can be replayed and inspected visually after the fact, instead of trusting a one-shot log.
Thanks for the detailed proposal! You're asking for browser sessions to be recorded automatically and exported as an HTML/JSON report, with the option to replay them later, so an agent's web checks become evidence you can reproduce and inspect afterwards.
One thing to know: this was planned on top of #51610, which was closed unmerged when dev moved to v2. The v2 browser is a separate implementation: it uses the desktop's built-in browser, with tools in packages/plugin-browser. So any recording or replay support would have to be built on that.
Maintainers will consider this as a feature request. Related issues and PRs:
Activity
opencodejr commentedon Oct 28, 2026
Thanks for the detailed proposal! You're asking for browser sessions to be recorded automatically and exported as an HTML/JSON report, with the option to replay them later, so an agent's web checks become evidence you can reproduce and inspect afterwards.
One thing to know: this was planned on top of #51610, which was closed unmerged when
devmoved to v2. The v2 browser is a separate implementation: it uses the desktop's built-in browser, with tools inpackages/plugin-browser. So any recording or replay support would have to be built on that.Maintainers will consider this as a feature request. Related issues and PRs:
neriousy commentedon Nov 12, 2026
Thanks for the suggestion. This isn't something we plan to build, so closing to keep the tracker focused.