wait-for-element
Poll for an element to become visible on a mobile app screen using a specified selector and timeout, ensuring reliable app automation in the MCP Appium Server environment.
Instructions
Wait for an element to be visible on screen
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) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"selector": {
"description": "Element selector (e.g., xpath, id)",
"type": "string"
},
"strategy": {
"description": "Selector strategy: xpath, id, accessibility id, class name (default: xpath)",
"type": "string"
},
"timeoutMs": {
"description": "Timeout in milliseconds (default: 10000)",
"type": "number"
}
},
"required": [
"selector"
],
"type": "object"
}