
I will be using Python Selenium for this post. yum localinstall google-chrome-stable_current_x86_64.rpm I have also put together a small section at the end to cover "most commonly errors" during installation. This post goes through step by step tutorial to install Selenium and Chrome. Installing Chrome and Selenium can be quite challenging. Therefore, if any of the driver (Chrome, Firefox or any other) suddenly stop working then find and download the latest version of that driver and follow step 3 and 4 which most probably fix the issue.How To Install Selenium Chrome On Centos 7 It should fix the Firefox driver issue.Īnother Note: All the drivers often update very frequently. Please Note: To use latest Firefox driver you need to download Mozilla GeckoDriver from the page and follow the Step 3 from the above. Sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver Create symbolic links sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver Sudo mv -f ~/Downloads/chromedriver /usr/local/share/chromedriverĤ. Make it executable and move to /usr/local/share chmod +x ~/Downloads/chromedriver Unzip ~/Downloads/chromedriver_linu圆4.zip -d ~/Downloadsģ. Example: For Robert’s system the location might be ‘/home/robert/Downloads’.): wget -N -P ~/Downloads

Download latest version from official website and upzip it (here for instance, to ~/Downloads.

Install unzip: sudo apt-get install unzipĢ. Here goes the simple instructions for installing Chrome Driver:ġ.

I hope the procedure will also work for other Linux distro as well. However, I needed to install Chrome driver separately in Linux mint. I did not have much time to investigate the issue with Firefox driver, therefore, I switched to Chromedriver. Recently I have faced some problems with Firefox driver while I was using Selenium Webdriver(Python).
