ui_find_element
Find UI elements in an iOS simulator by searching accessibility labels or unique IDs. Supports substring or exact matching, case sensitivity, and element type filtering.
Instructions
Searches the accessibility tree and returns elements matching the given criteria
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | Udid of target, can also be set with the IDB_UDID env var | |
| search | Yes | Array of search strings. An element matches if ANY string matches against its AXLabel or AXUniqueId | |
| type | No | Filter by element type (e.g. 'Button', 'StaticText', 'Group'). Case-insensitive exact match | |
| matchMode | No | Match mode for search strings: 'substring' (default) or 'exact' | substring |
| caseSensitive | No | Whether search matching is case-sensitive (default: false) |