browser_wait
Wait a set time (durationMs, 100–10000 ms), or until a text is on the page (forText) or gone from it (gone: true): every half second the screen and about 8000px around it are read, words, names and values alike, case and spacing aside.
Instructions
Wait a set time (durationMs, 100–10000 ms), or until a text is on the page (forText) or gone from it (gone: true): every half second the screen and about 8000px around it are read, words, names and values alike, case and spacing aside. Fails when the time runs out (timeoutMs, default 5000, at most 30000).
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 |
|---|---|---|---|
| gone | No | With forText: wait until it is no longer on the page. | |
| tabId | No | Tab to act on. Defaults to the foreground tab of that window. | |
| forText | No | Wait until this text is on the page. | |
| windowId | No | Window to act on. Defaults to the frontmost window. | |
| timeoutMs | No | With forText: how long to wait for it. | |
| durationMs | No | Milliseconds to wait; default 2000. Not with forText. |