Primitive steps
Element check
Assert on a specific element
Here are the types of checks you can perform on an element:
- Content - Verify the text content of an element.
- Attribute - Verify the value of an attribute on an element.
- State - Verify the state of an element, such as whether it is visible or enabled.
Inputs
description
string
requiredDescription of the element you want to assert on. Refer to the Locating elements guide for more information.
Was this page helpful?