Files
runner-images/images/macos/provision/core/chrome.sh
Mikhail Timofeev 0d46520ccf [macOS] Fail builds on errors during the image generation (#1756)
* set -e and fix all the scripts

* add source utils to finalize_vm script

* change xcode version in postbuild script

* fix for softwareupdates and for xcode version
2020-10-23 17:59:08 +03:00

13 lines
362 B
Bash

#!/bin/bash -e -o pipefail
echo "Installing Chrome..."
brew cask install google-chrome
echo "Installing Chrome Driver"
brew cask install chromedriver
echo "Installing Selenium"
brew install selenium-server-standalone
CHROMEWEBDRIVER_DIR=$(readlink $(which chromedriver) | xargs dirname)
echo "export CHROMEWEBDRIVER=$CHROMEWEBDRIVER_DIR" >> "${HOME}/.bashrc"