screenshot
Capture the current on-screen view to inspect the app before acting. Since the image is downscaled, use ui_dump for accurate tap coordinates.
Instructions
Capture what is currently on screen. Use this to see the app before acting on it.
The image is downscaled before sending, so coordinates read off it are NOT the device's own. Use ui_dump, or tap(text=...), to get real tap targets.
Args: max_width: longest edge of the returned image in pixels. serial: device serial when several are attached.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | ||
| max_width | No |