Aug 22, 2019 in Selenium
Q: Explain the line of code Webdriver driver = new FirefoxDriver(); ?

1 Answer

0 votes
Aug 22, 2019
Webdriver driver = new FirefoxDriver();

1

Webdriver driver = new FirefoxDriver();

‘WebDriver‘ is an interface and we are creating an object of type WebDriver instantiating an object of FirefoxDriver class.
Click here to read more about Selenium
Click here to read more about Insurance

Related questions

0 votes
Aug 22, 2019 in Selenium
...