Capture a screenshot
screenshotCapture the current Android device display as a PNG image for visual inspection; use get_ui_hierarchy when you need element coordinates instead of pixels.
Instructions
Capture the current screen of one device (exec-out screencap -p) and return it as a PNG image. Follow up with get_ui_hierarchy when you need element coordinates instead of pixels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial from list_devices; optional when exactly one device is connected. |