mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-24 10:28:10 +08:00
* Update azure-cli installation * Update curl installation * Update git-lfs installation * Add utils * Update gnupg installation * Add brew_install function * Revert jq installation * Add condition for the aws-sam-cli * Add return to function, revert aws-sam-cli changes, rename brew_install function * Fix typo Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
17 lines
479 B
Bash
17 lines
479 B
Bash
#!/bin/bash -e -o pipefail
|
|
source ~/utils/utils.sh
|
|
source ~/utils/invoke-tests.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" |