Files
runner-images/images/macos/scripts/build/install-firefox.sh
T

20 lines
585 B
Bash
Raw Normal View History

#!/bin/bash -e -o pipefail
2023-11-28 02:25:03 +01:00
################################################################################
## File: install-firefox.sh
## Desc: Install firefox browser
################################################################################
source ~/utils/utils.sh
2020-09-10 14:34:08 +03:00
echo "Installing Firefox..."
2020-12-22 14:48:31 +07:00
brew install --cask firefox
2020-09-10 14:34:08 +03:00
echo "Installing Geckodriver..."
brew_smart_install "geckodriver"
geckoPath="$(brew --prefix geckodriver)/bin"
2020-09-10 14:34:08 +03:00
echo "Add GECKOWEBDRIVER to bashrc..."
echo "export GECKOWEBDRIVER=${geckoPath}" >> ${HOME}/.bashrc
invoke_tests "Browsers" "Firefox"