dump_ui
Return the current Android UI Automator hierarchy as XML, enabling UI inspection and automated testing.
Instructions
Return the current Android UI Automator hierarchy as XML when supported by the device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_serial | No | ADB serial such as emulator-5554, a USB serial, or host:port. If omitted, the active device is used; a sole ready device is selected automatically. |