Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Commit

Permalink
Fix shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Oct 31, 2019
1 parent 0b26266 commit e508b3c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/setup-selenium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

set -eo pipefail

sudo apt-fast install -y xvfb screen google-chrome-stable

wget -c -nc --retry-connrefused --tries=0 https://selenium-release.storage.googleapis.com/3.14/selenium-server-standalone-3.14.0.jar

wget -c -nc --retry-connrefused --tries=0 https://selenium-release.storage.googleapis.com/3.14/selenium-server-standalone-3.14.0.jar -O "$HOME/selenium.jar"

# Geckodriver requires java 8.
Expand All @@ -14,7 +10,7 @@ sudo apt-get update && sudo apt-get install -y openjdk-8-jdk

# Install jdk switcher to easily change default jdk
git clone https://github.com/michaelklishin/jdk_switcher.git "$HOME/jdk_switcher"
./"$HOME/jdk_switcher/jdk_switcher.sh"
. "$HOME/jdk_switcher/jdk_switcher.sh"
jdk_switcher use openjdk8

# Download geckodriver
Expand Down

0 comments on commit e508b3c

Please sign in to comment.