Google News
logo
Selenium - Quiz(MCQ)
Which of the following steps is not mandatory to launch Firefox in Selenium 3?
A)
WebDriver driver = new FirefoxDriver();
B)
driver.get("http://www.google.com");
C)
DesiredCapabilities caps = new DesiredCapabilities();
D)
System.setProperty("webdriver.gecko.driver", "geckodriver path");

Correct Answer :   driver.get("http://www.google.com");

Advertisement