[macOS] Upgrade Selenium server version from 3 to 4 (#4474)

* upgrade selenium version from 3 to 4
* add test
This commit is contained in:
Dibir Magomedsaygitov
2021-11-11 14:57:18 +03:00
committed by GitHub
parent 5d89a3805e
commit 10ea71465c
2 changed files with 7 additions and 5 deletions

View File

@@ -7,12 +7,8 @@ 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
brew_smart_install "selenium-server"
CHROMEWEBDRIVER_DIR=$(readlink $(which chromedriver) | xargs dirname)
echo "export CHROMEWEBDRIVER=$CHROMEWEBDRIVER_DIR" >> "${HOME}/.bashrc"