browser_stop_recording
Stop recording a browser session and encode the video to MP4, WebM, or GIF. Returns the file path for the saved video.
Instructions
Stop recording and encode the video. Returns the file path.
Format is inferred from `path`'s extension: .mp4 (H.264, default), .webm, or .gif.
`fps`: output frame rate (MP4/WebM target 30; GIF capped to 15). Playback is
real-time. `also_gif=True` additionally writes a sibling .gif next to a video
(handy: an .mp4 for quality + a .gif that autoplays inline on GitHub).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| fps | No | ||
| session_id | No | ||
| also_gif | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |