annotate vendor/behat/mink-selenium2-driver/bin/run-selenium.sh @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 1fec387a4317
children
rev   line source
Chris@14 1 #!/usr/bin/env sh
Chris@14 2 set -e
Chris@14 3
Chris@14 4 echo ' Starting XVFB'
Chris@14 5 sh -e /etc/init.d/xvfb start
Chris@14 6 export DISPLAY=:99.0
Chris@14 7
Chris@14 8 echo ' Downloading selenium'
Chris@14 9 curl -L http://selenium-release.storage.googleapis.com/2.52/selenium-server-standalone-2.52.0.jar > selenium.jar
Chris@14 10 echo ' Running selenium'
Chris@14 11 java -jar selenium.jar -log /tmp/webdriver.log > /tmp/webdriver_output.txt 2>&1 &