Sha256: 7b09ab01ba1a9dae67d0c656b851748d830513f025845e287f485c2005e2516d
Contents?: true
Size: 724 Bytes
Versions: 3
Compression:
Stored size: 724 Bytes
Contents
latest_geckodriver=latest GK_VERSION=$(if [ ${GECKODRIVER_VERSION:-latest} = "latest" ]; then echo $(wget -qO- "https://api.github.com/repos/mozilla/geckodriver/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v([0-9.]+)".*/\1/'); else echo $GECKODRIVER_VERSION; fi) echo "#### Getting Geckodriver version: " $GK_VERSION wget --no-verbose -O /tmp/geckodriver.tar.gz https://github.com/mozilla/geckodriver/releases/download/v$GK_VERSION/geckodriver-v$GK_VERSION-linux64.tar.gz sudo tar -C /opt -zxf /tmp/geckodriver.tar.gz && rm /tmp/geckodriver.tar.gz sudo mv /opt/geckodriver /opt/geckodriver-$GK_VERSION sudo chmod 755 /opt/geckodriver-$GK_VERSION sudo ln -fs /opt/geckodriver-$GK_VERSION /usr/local/bin/geckodriver
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
watir-performance-0.8.0 | spec/support/setup-geckodriver.sh |
watir-performance-0.7.0 | spec/support/setup-geckodriver.sh |
watir-performance-0.6.4 | spec/support/setup-geckodriver.sh |