0 votes
in Selenium by
Explain the following line of code.

1 Answer

0 votes
by
Webdriver driver = new FirefoxDriver();

 'WebDriver' is an interface, and we are generating a WebDriver object by instantiating a FirefoxDriver object (This object uses Firefox Driver to link the test cases with the Firefox browser).
...