NatRitmeyer.com

An SDET's thoughts on test automation, TDD, BDD, ruby, CI, devops and software development

A Script to Install Chromedriver on Linux

Installing chromedriver on linux can be annoying. Here’s a script that takes the pain out of installing the latest (at time of writing!) 64 bit version of the driver:

1
2
3
4
5
6
7
#!/bin/bash
wget https://chromedriver.googlecode.com/files/chromedriver_linux64_2.3.zip
unzip chromedriver_linux64_2.3.zip
sudo cp chromedriver /usr/bin/chromedriver
sudo chown root /usr/bin/chromedriver
sudo chmod +x /usr/bin/chromedriver
sudo chmod 755 /usr/bin/chromedriver

I’ve tested it on Fedora 19.

If you need a different version of the driver, just change the link on the first line of the script.

Hope that helps!