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

Quiz: Web Elements · Question 1 of 10

Which class handles an HTML select element?

Which class handles an HTML select element?

  1. A.Actions
  2. B.Select
  3. C.Alert
  4. D.Dropdown
Answer & explanation

Correct answer: Select

new Select(driver.findElement(By.id("city"))).

Can you get the rest right without peeking?

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

Start the quiz →