firefox_wait
Pause script execution until a specified CSS selector or text appears on the page, with an optional timeout. Use it to sync browser automation with dynamically loaded content before clicking or reading.
Instructions
Wait until a selector or text appears on the page.
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": "firefox_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| tabId | No | Tab id from firefox_tabs. Default: the tab last used, else the visible one. | |
| selector | No | ||
| timeoutMs | No | Default 10000 |