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

Quiz: Selenium Setup · Question 6 of 10

What does driver.get(url) do?

What does driver.get(url) do?

  1. A.Downloads the page as a file
  2. B.Opens the page and waits for it to load
  3. C.Finds an element on the page
  4. D.Closes the browser
Answer & explanation

Correct answer: Opens the page and waits for it to load

It is the WebDriver equivalent of typing a URL and pressing Enter.

Can you get the rest right without peeking?

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

Start the quiz →