Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

cypress have attribute

cy.get('selector')
	.should('have.attr', 'aria-checked', 'true')
 
PREVIOUS NEXT
Tagged: #cypress #attribute
ADD COMMENT
Topic
Name
9+8 =