wait_for_element
Blocks execution until an element matching the specified selector appears. Use after tapping to wait for the next page.
Instructions
Block until an element matching the selector appears (e.g. after tapping a button, wait for the next page). Provide at least one selector field.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wait_for_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| index | No | ||
| timeout | No | ||
| resource_id | No | ||
| text_contains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |