webdriver_client 0.2.5

WebDriver client library
Documentation
#!/usr/bin/env bash

# This script is sourced as the travis before-script.
# If testing locally, source it from the crate root directory.

# Store old shell options
shopt_old=$-;

set -x;

# Install geckodriver
bin/download_geckodriver;

# Install chromedriver
bin/download_chromedriver;
export CHROME_BIN=/usr/bin/google-chrome-stable
export CHROME_HEADLESS=1

export PATH=$PATH:$PWD/bin;

# Show bin locations
which firefox;
which geckodriver;
which chromedriver;

# Restore old shell options
if [[ ${shopt_old} != *"x"* ]]; then
    set +x;
fi