assert_element
Verify an element is present in the DOM before proceeding, with a configurable timeout and exception on failure.
Instructions
Assert that an element is present in the DOM.
If no timeout given (0 or None), then SeleniumBase uses 7 seconds.
Raises an exception if the element isn't found within the timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |