assert_attribute
Verify that a web element's attribute equals the expected value, using a selector and optional timeout for UI state validation.
Instructions
Assert an element attribute has the expected value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | css | |
| exact | No | ||
| timeout | No | ||
| expected | Yes | ||
| selector | Yes | ||
| attribute | Yes |