-
Notifications
You must be signed in to change notification settings - Fork 827
Open
Description
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.webmAlternatively, explicit start/stop:
agent-browser record start [path]
agent-browser record stopPrior Art
- Playwright's
recordVideooption in browser context - dev-browser skill's
--recordflag which saves.webmfiles per page
Notes
Since agent-browser already uses Playwright under the hood, this should be straightforward to implement via recordVideo in the context options.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels