DoesQA lets you check an element's attribute value to ensure it matches a specific condition. You can use various comparison types to perform the check, including:
Has any value
Equals
Contains
Starts with
Ends with
Has no value
Doesn't equal
Doesn't contain
Doesn't start with
Doesn't end with
Is greater than
Is greater than or equal to
Is less than
Is less than or equal to
Custom regex
These options provide flexibility for validating the values of attributes like class
, id
, src
, and more in your tests.