in Selenium by
Q:
Explain the line of code Webdriver driver = new FirefoxDriver(); ?

▼ Show 1 Answer

0 votes
by
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.
Selenium
Learn More with Madanswer

Related questions

0 votes
asked Aug 22, 2019 in Selenium by john ganales
...