Hi Ridhima, to launch Firefox driver in Selenium Webdriver, you need to import these packages:
-
org.openqa.selenium. *: Includes the required WebDriver class to instantiate a new browser loaded with a specific driver.
-
org.openqa.selenium.firefox.FirefoxDriver: Required to install Firefox-specific drivers via the WebDriver class immediately to the browser.