Skip to content

[FEATURE]: Browser recording and replay for the browser agent #51662

Closed as not planned

Description

@arifonurmamade1-ops
  • 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):

  1. 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.
  2. 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.
  3. 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.
  4. 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.

Activity

  1. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    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:

  2. neriousy commented on Nov 12, 2026

    @neriousy
    Member

    Thanks for the suggestion. This isn't something we plan to build, so closing to keep the tracker focused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions