capture_screen
Captures a screenshot of the Android or iOS Simulator screen and lists visible elements with AutomationId, text and bounds, so you can compare a mobile app screen against its Figma design.
Instructions
Takes a screenshot of the device (Android or iOS Simulator) and lists the visible elements with their AutomationId (resource-id on Android, accessibilityIdentifier on iOS), text and bounds in dp or pt. On iOS it takes a few more seconds: it reads the accessibility tree with a UI test, which is built the first time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceSerial | No | Device serial or UDID (from list_devices). Optional: uses the first one. |