In order to install Splinter, make sure Python is installed. Note: only Python between 2.5 - 2.7 are supported. Version 3.0 is not supported yet.
Download Python from http://www.python.org. If you’re using Linux or Mac OS X, it is probably already installed.
Basically, there are two ways to install Splinter:
If you’re interested on an official and almost bug-free version, just run from the Terminal:
$ [sudo] pip install splinter
Otherwise, if you want Splinter’s latest-and-greatest features and aren’t afraid of running under development code, run:
$ git clone git://github.com/cobrateam/splinter.git
$ cd splinter
$ [sudo] python setup.py install
Notes:
- in this second case, make sure Git is installed.
- in order to use Chrome webdriver, you need to setup Google Chrome.