Screenshot
Overview
Section titled “Overview”Take a screenshot of the device screen, returned as a base64-encoded PNG. Optionally save to a local file.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
savePath | string | No | — | Local path to save the screenshot file |
deviceId | string | No | — | Target device serial |
Examples
Section titled “Examples”Take a screenshot of my device
Capture a screenshot and save to ~/Desktop/screen.png
Take a screenshot and save to ./screenshots/login-screen.png
Related Tools
Section titled “Related Tools”- Screen Record — Record video instead
- UI Dump — Get the view hierarchy alongside the screenshot