In this tutorial, we will learn steps involved to Download Google ChromeDriver on Ubuntu Linux distribution. We will use the unzip utility to extract contents of the .zip archive file.
- Ubuntu Linux
- Google Chrome Browser
Download Google ChromeDriver
Navigate to the following URL to download the driver.
Pick the latest stable version.
Click on the Linux driver .zip archive file and download it on to the machine.
Extract the contents
We need to extract the contents of the .zip archive file. We can either use the GUI to extract the contents or the Terminal. To extract using the UI, go to the download file and right click on the file. Choose Extract Here menu option.
To extract contents using the Terminal command line.
- Launch Terminal.
- Issue the following command.
- $ unzip <chrome linux archive file>
Note that the archive file is not a tar archive file. We cannot use the tar command to extract the contents of the file. We have to use unzip command. If the utility is not installed on the Ubuntu machine. We can install it using the standard packaging tool apt.
To install the unzip utility using the apt packing tool, issue the following command in the Terminal. Enter your password.
$ sudo apt install unzip
That’s it. We can copy the chromedriver file to the Automation Project root folder or under drivers directory.
Download Mozilla GeckoDriver on Linux