Purpose
Use Wait for Element as the default synchronization block before clicking, typing, extracting, or exporting.
How it works
- Checks for the selector until it appears or timeout is reached.
- Can require the element to be visible, not just present in the DOM.
- Continues when the condition is satisfied.
Configuration fields
| Field | Required | Default | Description |
|---|---|---|---|
| Element Selector | Yes | - | CSS selector or XPath to wait for. |
| Timeout | No | 30 | Maximum seconds to wait. |
| Visible | No | true | Require the element to be displayed. |
Usage notes
- Prefer waiting for the data container, not a generic body element.
- Use visible=false when a hidden field or metadata node is enough.
- Timeouts should be long enough for slow pages but short enough to catch broken selectors.