mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
* get rid of invoke_tests imports * add sudo * change path to /usr/bin/invoke_tests * create /usr/local/bin dir * remove local variables * fix group owner * set default 775 perm * delete invoke_tests symlink
17 lines
449 B
Bash
17 lines
449 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 install --cask chromedriver
|
|
|
|
echo "Installing Selenium"
|
|
brew_smart_install "selenium-server-standalone"
|
|
|
|
CHROMEWEBDRIVER_DIR=$(readlink $(which chromedriver) | xargs dirname)
|
|
echo "export CHROMEWEBDRIVER=$CHROMEWEBDRIVER_DIR" >> "${HOME}/.bashrc"
|
|
|
|
invoke_tests "Browsers" "Chrome"
|