perch_wait
Wait for a CSS selector or visible text to appear or disappear in a preview after clicks or edits, so assertions run only when the UI is ready.
Instructions
Wait for a selector or visible text to appear (or vanish with gone:true) in the preview. Use after a click/edit before asserting.
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": "perch_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gone | No | Wait for it to DISAPPEAR instead. Default false | |
| text | No | Visible text to wait for | |
| frame | No | Default preview | |
| timeout | No | ms. Default 15000 | |
| selector | No | CSS selector or 'text=Visible Text' |