Cypress - Selecting Elements
Which of the following is the correct syntax to select the third element in a list using Cypress?
eq()eq() command uses zero-based index, so the third element is at index 2.eq(2) correctly. Options A, C, and D either use wrong index or invalid syntax.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions