http://chromedriver.storage.googleapis.com/2.31/chromedriver_linux32.zip
http://chromedriver.storage.googleapis.com/2.29/chromedriver_linux32.zip
sudo apt-get install unzip
wget -N http://chromedriver.storage.googleapis.com/2.10/chromedriver_linux64.zip -P ~/Downloads
unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads
chmod +x ~/Downloads/chromedriver
sudo mv -f ~/Downloads/chromedriver /usr/local/share/chromedriver
Change the directory to /usr/bin/chromedriver
sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver
Now run the script and add the following in the environment file.
yum install GConf2
yum install libX11
yum -y install Xvfb libXfont Xorg
yum install GConf2
yum install fontconfig
yum install gtk2
yum install java-1.7.0-openjdk-devel