mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-24 10:28:10 +08:00
[macOS] Pin Selenium to 3.141.59 version (#4359)
This commit is contained in:
committed by
GitHub
parent
e66f7c0790
commit
ecbbec3330
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user