← 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?
- A.Actions
- B.Select
- C.Alert
- 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 →