browser_wait_for_selector
Wait for a specific element to appear on a webpage using Playwright selectors, ensuring reliable automation by pausing execution until the element is present or a timeout occurs.
Instructions
Wait for an element to appear on the page (see browser_docs)
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_selector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | Playwright selector to wait for | |
| timeout | No | Timeout in milliseconds |