← 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?
- A.Downloads the page as a file
- B.Opens the page and waits for it to load
- C.Finds an element on the page
- 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 →