DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to inspect element attributes in cypress
cy.get('[data-test="passwordInput"]') .invoke('attr', 'type') .should('eq', 'password');
Source by filiphric.com #
PREVIOUS
NEXT
Tagged:
#inspect
#element
#attributes
#cypress
ADD COMMENT
Topic
COMMENT
Name
3+4 =
Submit