annotate vendor/behat/mink-selenium2-driver/bin/run-phantomjs.sh @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
rev   line source
Chris@0 1 #!/usr/bin/env sh
Chris@0 2 set -e
Chris@0 3
Chris@0 4 if [ "2" = "$PHANTOM_VERSION" ]; then
Chris@0 5 mkdir travis-phantomjs
Chris@0 6 wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Chris@0 7 tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
Chris@0 8 export PATH=$PWD/travis-phantomjs:$PATH
Chris@0 9 fi
Chris@0 10
Chris@0 11 phantomjs --version
Chris@0 12 echo ' Running PhantomJS'
Chris@0 13 phantomjs --webdriver=4444 > /tmp/webdriver_output.txt &