← 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?
- A.Three
- B.Five
- C.Eight
- 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 →