runtime.recording

View as Markdown

runtime.recording is a browser runtime capability in the runtime namespace.

Availability

  • Runtime: browser
  • Kind: lifecycle
  • Category: lifecycle
  • Supported drivers: Playwright, Puppeteer, Stagehand, browser-use

SDK Surface

  • SDK path: runtime.recording
  • Async: Yes

HTTP Surface

  • Transport: resource route
  • Route: POST /workspaces/{id}/runtimes/{alias}/embed/recording
  • Long-running: No

Arguments

ArgumentTypeRequiredDescription
optionsobjectNoRecording embed options.

Result

  • Type: embed
  • Description: Recording embed metadata including iframe URL and replay details.

SDK Example

1await runtime.recording();

HTTP Example

1POST /workspaces/{id}/runtimes/{alias}/embed/recording