Mozilla Firefox Driver
The geckodriver allows the Selenium API to interact and automate the Firefox browser.
Download geckodriver
The driver and its source code are open-source. You can download them from GitHub. Open a browser and navigate to the following URL to download geckodriver.
Â
Pick the latest version. Like Google Chrome, the Firefox browser can run on multiple operating systems and devices. Choose the correct operating system and architecture type.
For example, On a Windows 64-bit machine, download the following zip file:
geckodriver-v0.34.0-win-aarch64.zip
Extract the contents of the zip file. The file geckodriver.exe ( on Windows OS ) is the driver that interacts with Selenium Webdriver API and the application running on the browser.
Copy the driver file to the project folder. To avoid scripting errors during the automation run, it is best to add the folder to the PATH environment variable on the Windows machine.