Cypress - Selecting Elements
You want to select the third
li element inside a ul with class menu. Which cy.get() selector is correct?li element inside a ul with class menu. Which cy.get() selector is correct?nth-child(3) selects the third child element regardless of type.
ul.menu li:nth-child(3) selects the third
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions