find_element
Locate UI elements on Android and iOS by selector, returning pre-parsed coordinates (center, edges, size) ready for automated actions.
Instructions
Find UI elements by selector. Returns elements with pre-parsed coordinates (centerX, centerY, left, top, right, bottom, width, height) ready for use. For tapping, prefer tap_on_element which does find+tap in one step.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"deviceId": "<deviceId>",
"platform": "<platform>",
"selector": "<selector>",
"strategy": "<strategy>"
},
"name": "find_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | ||
| platform | Yes | ||
| selector | Yes | ||
| strategy | Yes |