waitForSelector
Pause execution until a specified HTML element appears on the webpage, ensuring synchronization in browser automation tasks. Input includes a CSS selector and optional timeout.
Instructions
Wait for a specific selector to appear on the page
Input Schema
Name | Required | Description | Default |
---|---|---|---|
selector | Yes | ||
timeout | No | Timeout in milliseconds (default: 30000) |