Setting up Chrome webdriver

In order to use Google Chrome with Splinter, since we’re using Selenium 2.0 RC2, you need to setup Chrome webdriver properly. All you need to do is download a prebuilt distribution of ChromeDriver server and put it in your PATH.


Note: We don’t provide official support for Windows, but you can try it by yourself.

All you need to do is go to download page on Selenium project and choose “ChromeDriver server for win32”. Your browser will download a zip file, extract it and add the .exe file to your PATH.

If you don’t know how to add an executable to the PATH on Windows, check these link out:

Linux and Mac OS X

Go to the download page on Selenium project and choose the properly version for you Linux (32 or 64 bits) or Mac OS (“ChromeDriver server for Mac OSX”). Then extract the downloaded file in a directory in the PATH (e.g. /usr/bin). You can also extract it to any directory and add that directory to the PATH:

$ cd $HOME/Downloads
$ wget
$ unzip
$ mkdir -p $HOME/bin
$ mv chromedriver $HOME/bin
$ echo "export PATH=$PATH:$HOME/bin" >> $HOME/.bash_profile

Table Of Contents

This Page