Skip to main content

Assert the element has an attribute with specific value

Now we can use the assert the element has the expected “value” attribute. But we can´t assert another attribute value. In my case I´m trying to find an element and assert if it has the attribute “data-state” set to "checked/unchecked"

Status: Completed3 comments

Log in to comment and vote

Comments3