Skip to content

Feature request: Video recording support #66

@luisrudge

Description

@luisrudge

Summary

Add support for recording browser sessions to video files (e.g., .webm), similar to Playwright's built-in video recording.

Use Case

  • PR demos: Record a feature flow to attach as a GIF/video in pull requests
  • Bug documentation: Capture reproduction steps visually
  • Test artifacts: Save recordings of failed E2E tests for debugging

Proposed API

# Start browser with recording enabled
agent-browser open example.com --record

# Or enable per-session
agent-browser --session demo --record open example.com

# Videos saved on close
agent-browser close
# Output: Video saved to ./videos/session-demo-1234567890.webm

Alternatively, explicit start/stop:

agent-browser record start [path]
agent-browser record stop

Prior Art

  • Playwright's recordVideo option in browser context
  • dev-browser skill's --record flag which saves .webm files per page

Notes

Since agent-browser already uses Playwright under the hood, this should be straightforward to implement via recordVideo in the context options.

Metadata

Metadata

Assignees

No one assigned

    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