Files
runner-images-temp/images/macos/provision/core/chrome.sh
T

17 lines
449 B
Bash
Raw Normal View History

#!/bin/bash -e -o pipefail
2020-10-20 13:47:33 +03:00
source ~/utils/utils.sh
2020-09-10 14:34:08 +03:00
echo "Installing Chrome..."
2020-10-22 09:48:03 +03:00
brew_cask_install_ignoring_sha256 "google-chrome"
2020-09-10 14:34:08 +03:00
echo "Installing Chrome Driver"
2020-12-22 14:48:31 +07:00
brew install --cask chromedriver
2020-09-10 14:34:08 +03:00
echo "Installing Selenium"
brew_smart_install "selenium-server-standalone"
2020-09-10 14:34:08 +03:00
CHROMEWEBDRIVER_DIR=$(readlink $(which chromedriver) | xargs dirname)
echo "export CHROMEWEBDRIVER=$CHROMEWEBDRIVER_DIR" >> "${HOME}/.bashrc"
invoke_tests "Browsers" "Chrome"