Quiz Yourself on Buttons

Check your understanding of Selenium buttons concepts.

Assess what you’ve learned so far about buttons in this quiz.

1

If there are 3 buttons present on a web page, then the command driver.findElement(By.css("form#login > input:nth-child(2)")).click() will click which button?

A)

The first button

B)

The second button

C)

the Third button

Question 1 of 30 attempted

Get hands-on with 1400+ tech skills courses.