In this tutorial, we will learn steps involved to Download Mozilla GeckoDriver on Ubuntu Linux distribution. New releases of Selenium would be hosted on GitHub. We can download the GeckoDriver from GitHub repository.
- Ubuntu Linux Distribution.
- Mozilla Firefox Web Browser
Navigate to GitHub repository URL in your browser.
Under Downloads section click on the Releases link. We can choose different releases on this page. Choose the Latest version and pick either 32-bit or 64-bit download tar file according to your machine type.
To know your machine architecture, launch Terminal and issue the following system bash command:
$ uname -i
Check your machine architecture and download the tar file. The following machine is 64-bit architecture.
Pick the latest version and Download the tar file.
For 32 bit machine: geckodriver-<version>-linux32.tar.gz
For 64-bit architecture: geckodriver-<version>-linux64.tar.gz
Extract the Contents
We need to extract the contents of the tar file.
Launch the Terminal window and change working directory to the path where the tar was downloaded.
Issue the following tar command.
$ tar -xvf geckodriver-<version>-linux64.tar.gz
List the directory contents to check the extraction.
That’s it. We can copy the geckodriver file to the Project folder or to the drivers directory.
Download Google Chrome Driver on Ubuntu Linux
Selenium WebDriver Tutorials on this website can be found at:
For more details on the Selenium, visit the official website at: