mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-02 23:37:18 +08:00
[macOS] Upgrade Selenium server version from 3 to 4 (#4474)
* upgrade selenium version from 3 to 4 * add test
This commit is contained in:
committed by
GitHub
parent
5d89a3805e
commit
10ea71465c
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user