wait_for_selector
Ensure a specific element is visible on a webpage by specifying a CSS selector and optional timeout. Automates browser interactions efficiently for testing and automation workflows.
Instructions
Wait for an element to be visible on the page
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | No | ||
| selector | Yes | ||
| timeout | No |
Input Schema (JSON Schema)
{
"properties": {
"page_id": {
"type": "string"
},
"selector": {
"type": "string"
},
"timeout": {
"type": "number"
}
},
"required": [
"selector"
],
"type": "object"
}