wait_for
Pauses script execution until a specified web element becomes available on the page, using CSS selectors to identify elements and optional timeout settings.
Instructions
Wait for an element to appear on the page
Input Schema
Name | Required | Description | Default |
---|---|---|---|
selector | Yes | CSS selector for the element to wait for | |
timeout | No | Timeout in milliseconds (default: 5000) |
Input Schema (JSON Schema)
{
"properties": {
"selector": {
"description": "CSS selector for the element to wait for",
"type": "string"
},
"timeout": {
"description": "Timeout in milliseconds (default: 5000)",
"type": "number"
}
},
"required": [
"selector"
],
"type": "object"
}