mobile_dump_hierarchy
Retrieves the UI element tree of a mobile device to locate exact coordinates for automation, eliminating guesswork.
Instructions
Get the UI element tree, for finding coordinates instead of guessing.
Args: serialno: The mobile device serialno, from list_devices.
Returns: JSON envelope whose data.hierarchy holds the tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serialno | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |