wait-for-element
Wait for a mobile app element to become visible on screen using Appium automation. Specify selector and timeout to ensure reliable element detection during testing.
Instructions
Wait for an element to be visible on screen
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": {
"selector": "<selector>"
},
"name": "wait-for-element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | Element selector (e.g., xpath, id) | |
| strategy | No | Selector strategy: xpath, id, accessibility id, class name (default: xpath) | |
| timeoutMs | No | Timeout in milliseconds (default: 10000) |