Browser Wait For Selector
browser_wait_for_selectorWaits for a page selector to reach attached, detached, visible, or hidden state before continuing the automation flow.
Instructions
Wait for a selector to reach a state.
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": {
"sessionId": "<sessionId>",
"selector": "<selector>"
},
"name": "browser_wait_for_selector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| timeout | No | ||
| selector | Yes | ||
| sessionId | Yes |