🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Locators: all 10 questions

Quiz: Locators · Question 10 of 10

What does the XPath (//tr)[2] find?

What does the XPath (//tr)[2] find?

  1. A.Every row with two cells
  2. B.The second cell of each row
  3. C.The second row on the whole page
  4. D.Two rows
Answer & explanation

Correct answer: The second row on the whole page

The parentheses apply the position to the whole result list.

Can you get the rest right without peeking?

Take the timed Quiz: Locators quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →