#!/usr/bin/env bash set -ex script_dir=$( cd $(dirname ${BASH_SOURCE[0]}); pwd ) version="v0.26.0" curl -sSL \ https://github.com/mozilla/geckodriver/releases/download/${version}/geckodriver-${version}-linux64.tar.gz \ -o ${script_dir}/geckodriver-${version}-linux64.tar.gz tar -C ${script_dir} --overwrite -xzf \ ${script_dir}/geckodriver-${version}-linux64.tar.gz