browser_wait
Wait for a specified duration or until an element appears or disappears, using optional CSS selector and timeout.
Instructions
等待一段时间,或等待某个元素出现。
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": "browser_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | 等待的毫秒数,默认 2000 | |
| timeout | No | 超时毫秒,默认 30000 | |
| selector | No | 等待元素出现(优先级高于 ms) | |
| disappear | No | 等待元素消失而不是出现 |