screencast
Record a browser tab as an MP4 or WebM video to inspect animations or interactions frame by frame; returns the file path and size.
Instructions
Record the tab as a video (.mp4 or .webm) to watch an animation or interaction frame by frame; returns the file path and size, never the frames. action record (default) = start, optional interaction, wait duration_ms, stop. start/stop bracket anything else done meanwhile (max 120 s). Chrome sends a frame only when the page changes; the video keeps the real timing. Needs the tab active and its window visible, and ffmpeg on the server machine (without it: the JPEG folder and the ffmpeg command). Uses chrome.debugger: Chrome shows its debugging bar while recording; in launch mode nobody sees it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Frame rate of the output video | |
| action | No | record does start → wait → stop in one call | record |
| format | No | Video container | mp4 |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one | |
| quality | No | JPEG quality of the captured frames, 0-100 | |
| save_to | No | Absolute path: write the video there and return the path instead of the content | |
| max_width | No | Scale frames down to this width in px | |
| duration_ms | No | record: how long to record, max 120000 | |
| interaction | No | Action run right after recording starts |