android.ui.dump
Extract the current Android UI hierarchy as XML to identify visible elements, their properties, and tap targets for automation tasks.
Instructions
Dumps the current UI hierarchy using uiautomator. Returns XML with all visible elements, their bounds [left,top][right,bottom], text, resource-id, content-desc, and class. Useful for finding tap targets.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes |