ui.wait_for
Wait for UI elements to appear or become visible in iOS Simulator during React Native/Expo testing, ensuring reliable automation by specifying selectors and timeout settings.
Instructions
Wait for an element to be visible or exist
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": "ui.wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | Element selector to wait for. | |
| visible | No | Wait for visibility (true) or existence (false). | |
| timeout | No | Timeout in milliseconds. |