🎙 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 6 of 10

How many locator strategies does Selenium's By class offer?

How many locator strategies does Selenium's By class offer?

  1. A.Three
  2. B.Five
  3. C.Eight
  4. D.Twelve
Answer & explanation

Correct answer: Eight

id, name, className, tagName, linkText, partialLinkText, cssSelector and xpath.

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 →