uses to link the test cases with the Firefox browser. In this guide, we discuss how Selenium Firefox driver aka GeckoDriver works with the help of an example. Selenium Firefox Driver Before proceeding further, learn how to execute Selenium test cases with Selenium Java Guide. Let’s get started. What is a Selenium Firefox Driver? Selenium Firefox Driver, also called GeckoDriver is a developed by Mozilla for many applications. It provides a link between test cases and the Firefox browser. Without the help of GeckoDriver, one cannot instantiate the object of Firefox browser and perform . One can easily initialize the object of GeckoDriver using the following command: browser engine automated Selenium testing Basic Setup: Navigate to the . Under third-party drivers, one will find all the drivers. Just click on the Mozilla GeckoDriver documentation After that, check the latest supported platforms of GeckoDriver versions in the documentation and click on GeckoDriver releases . Step 1: official Selenium website Step 2: Now, it will navigate to the , where one can download the suitable driver based on the OS as it is platform agnostic. The snapshot below depicts all the available Selenium Firefox Driver releases. GeckoDriver downloads link Once the zip file is downloaded, open it to retrieve the geckodriver executable file. Step 3: Copy the path of the GeckoDriver and set the properties to launch the browser and perform testing. Step 4: How to run Selenium Tests on IE using . We will perform 3 simple steps: Also learn : Selenium IE Driver Sample test case: 1. Launch Firefox browser 2. Go to Google website 3. Enter search query as - BrowserStack Guide. java.util.concurrent.TimeUnit; org.openqa.selenium.By; org.openqa.selenium.WebDriver; org.openqa.selenium.WebElement; org.openqa.selenium.firefox.FirefoxDriver; { { System.setProperty( ,Path_of_Firefox_Driver https: driver.findElement(By.name( )).sendKeys( ); WebElement searchbutton = driver.findElement(By.name( )); searchbutton.click(); driver.quit(); } } import import import import import public class Firefox_Example public static void main (String[] args) "webdriver.gecko.driver" "); // Setting system properties of FirefoxDriver WebDriver driver = new FirefoxDriver(); //Creating an object of FirefoxDriver driver.manage().window().maximize(); driver.manage().deleteAllCookies(); driver.manage().timeouts().pageLoadTimeout(40, TimeUnit.SECONDS); driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS); driver.get(" //www.google.com/"); "q" "Browserstack Guide" //name locator for text box "btnK" //name locator for google search On executing the code, GeckoDriver will launch Firefox browser, navigate through google.com and give the search result of the Browserstack Guide page as shown below. For user willing to automate test cases on Chrome, they can refer to this article Automation using Selenium ChromeDriver.