browser_wait_for
Wait for a CSS selector element to appear in the DOM after an action. Configurable timeout up to 10 seconds returns the element's text content.
Instructions
Wait for an element matching the CSS selector to appear in the DOM. Useful after triggering an action that causes a loading state. timeout: max milliseconds to wait (default 10000). Returns the element's text content when found.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>"
},
"name": "browser_wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |