Assertions
Built-in interactor assertions
Interactor assertions can be found nested under the assert
property. Most
assertions mirror their corresponding properties and the others mirror helpers
that return information about the DOM element. All built-in assertions can be
overridden for custom interactors.
- Attribute
- Count
- Disabled
- Exists
- Focusable
- Focused
- Matches
- Property
- Scrollable
- ScrollableX
- ScrollableY
- Text
- Value
Other assert methods do not make assertions, but instead change the behavior of an assertion or a group of assertions. These assert methods cannot be overridden.