mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
14 lines
404 B
Bash
14 lines
404 B
Bash
#!/bin/bash -e -o pipefail
|
|
source ~/utils/utils.sh
|
|
|
|
echo "Installing Chrome..."
|
|
brew_cask_install_ignoring_sha256 "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" |