annotate vendor/behat/mink-selenium2-driver/bin/run-selenium.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 echo ' Starting XVFB'
Chris@0 5 sh -e /etc/init.d/xvfb start
Chris@0 6 export DISPLAY=:99.0
Chris@0 7
Chris@0 8 echo ' Downloading selenium'
Chris@0 9 curl -L http://selenium-release.storage.googleapis.com/2.52/selenium-server-standalone-2.52.0.jar > selenium.jar
Chris@0 10 echo ' Running selenium'
Chris@0 11 java -jar selenium.jar -log /tmp/webdriver.log > /tmp/webdriver_output.txt 2>&1 &