Screen Record
Overview
Section titled “Overview”Record the device screen and save it as an MP4 file locally. Useful for capturing bug reproductions and creating demos.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
savePath | string | Yes | — | Local path to save the MP4 recording |
duration | number | No | 10 | Recording duration in seconds (max 180) |
deviceId | string | No | — | Target device serial |
Examples
Section titled “Examples”Record my device screen for 30 seconds
Record a 10-second video and save to ./recording.mp4
Record the screen for 60 seconds and save to ~/Desktop/demo.mp4
Related Tools
Section titled “Related Tools”- Screenshot — Single frame capture
- Logcat — Capture logs while recording