ui_find_element
Locate UI elements on an Android screen using text, resource ID, class name, or content description. Returns tap coordinates for interaction.
Instructions
Find UI elements on screen by text, resource ID, class name, or content description. Returns matching elements with their tap coordinates. At least one search criterion must be provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text content to search for (partial match, case-insensitive) | |
| resourceId | No | Resource ID to match exactly (e.g., 'com.app:id/button') | |
| className | No | Class name to match exactly (e.g., 'android.widget.Button') | |
| contentDesc | No | Content description to search for (partial match, case-insensitive) | |
| serial | No | Device serial number |