Skip to content

Instantly share code, notes, and snippets.

@iwein
Created November 11, 2012 06:52
Show Gist options
  • Select an option

  • Save iwein/4054002 to your computer and use it in GitHub Desktop.

Select an option

Save iwein/4054002 to your computer and use it in GitHub Desktop.
# Get the binaries and move them to the right place
cd /tmp/
wget http://phantomjs.googlecode.com/files/phantomjs-1.7.0-linux-i686.tar.bz2
tar xvjf phantomjs-1.7.0-linux-i686.tar.bz2
mv phantomjs-1.7.0-linux-i686 /opt/
# Make it available to Testacular
sudo ln -s /opt/phantomjs-1.7.0-linux-i686/bin/phantomjs /usr/local/bin/phantomjs
# If you don't want that symlink you can `export PHANTOMJS_BIN=/opt/phantomjs-1.7.0-linux-i686/bin/phantomjs` instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment