Tools/Navigation
Take screenshot
Changed onDeprecated: use POST /devices/{deviceId}/screenshots. Captures the device screen and returns it as a PNG image. An optional hideOverlay query parameter excludes the accessibility overlay from the capture.
get/devices/{deviceId}/screenshot
Request
- Base URLhttps://api.mobilerun.ai
- URLhttps://api.mobilerun.ai/devices/{deviceId}/screenshot
- 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
the endpoint scheme security
bearerAuthwas removed from the API - info
endpoint deprecated
- info
added the new optional
queryrequest parametersave
- info
- info
endpoint added
- info