wait_for
Pauses browser automation until specified text appears or disappears, or until a set number of milliseconds elapses, using a configurable timeout.
Instructions
等待某个条件:文字出现(text)、文字消失(textGone),或单纯等待若干毫秒(ms)。
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | ||
| text | No | ||
| timeout | No | 最长等待毫秒数,默认 15000 | |
| textGone | No |