Answers for "how to inspect element attributes in cypress"

0

how to inspect element attributes in cypress

cy.get('[data-test="passwordInput"]')
	.invoke('attr', 'type')
    .should('eq', 'password');
Posted by: Guest on April-02-2022

Code answers related to "how to inspect element attributes in cypress"

Code answers related to "Javascript"

Browse Popular Code Answers by Language