wait_for_element
Waits for a web element to meet a specified condition (visible, clickable, present, or invisible) before proceeding, preventing script failures from timing issues.
Instructions
Wait until an element is visible on the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector, XPath, or other locator value | |
| by | No | Locator strategy | css |
| timeout | No | Wait timeout in seconds | |
| condition | No | visible |