Tools/Screenshots
Capture a device screenshot
Changed onCaptures the device screen and returns it as a PNG image. Pass save=true to store it as device media.
post/devices/{deviceId}/screenshots
Request
- Base URLhttps://api.mobilerun.ai
- URLhttps://api.mobilerun.ai/devices/{deviceId}/screenshots
- AuthHTTP bearer
Path parameters
deviceIdstring required
Query parameters
hideOverlayboolean
saveboolean
Store the screenshot as device media: in the owner's active recording, or standalone for 7 days. Without save=true nothing is stored. The PNG response is unchanged; X-Screenshot-Saved reports whether it was stored.
Headers
X-Device-Display-IDinteger
Response
OK
string byte required
Changes
- info
endpoint added
- info