[macOS] Pin Selenium to 3.141.59 version (#4359)

This commit is contained in:
Dibir Magomedsaygitov
2021-10-30 03:27:10 +03:00
committed by GitHub
parent e66f7c0790
commit ecbbec3330
2 changed files with 11 additions and 1 deletions

View File

@@ -7,8 +7,12 @@ brew_cask_install_ignoring_sha256 "google-chrome"
echo "Installing Chrome Driver"
brew install --cask chromedriver
# Temporarily download Selenium 3.141.59, since 4.* can contain some breaking changes
echo "Installing Selenium"
cd $(brew --repo homebrew/core)
git checkout dc37198
brew_smart_install "selenium-server-standalone"
git checkout master
CHROMEWEBDRIVER_DIR=$(readlink $(which chromedriver) | xargs dirname)
echo "export CHROMEWEBDRIVER=$CHROMEWEBDRIVER_DIR" >> "${HOME}/.bashrc"