assert_text
Verify that a web element's text equals or contains an expected value using CSS or other selectors, with optional exact matching and timeout.
Instructions
Assert element text equals or contains expected value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | css | |
| exact | No | ||
| timeout | No | ||
| expected | Yes | ||
| selector | Yes |