Kernel

manage_replays

Start, stop, and list video replay recordings for a browser session

Record video replays of a browser session. Recording is opt-in and session-scoped: start a recording once, run your automation (for example with execute_playwright_code), then stop it.

Replays require a headful session. They are not available for headless browsers.

Actions

ActionDescription
startBegin recording a session. Returns a replay_id.
stopStop a recording.
listList recordings for a session, including their view/download URLs.

Parameters

ParameterDescription
actionOperation to perform: start, stop, or list. Required.
session_idBrowser session ID. Required.
replay_idRecording ID to stop. Required for stop.
framerate(start) Frames per second for the recording.
max_duration_in_seconds(start) Maximum recording length in seconds.
record_audio(start) Capture audio in addition to video.

Example

{
  "action": "start",
  "session_id": "session_abc123",
  "max_duration_in_seconds": 300
}

On this page