diff --git a/images/macos/provision/core/edge.sh b/images/macos/provision/core/edge.sh index 81219f680..bc19a5666 100644 --- a/images/macos/provision/core/edge.sh +++ b/images/macos/provision/core/edge.sh @@ -1,7 +1,11 @@ source ~/utils/utils.sh echo "Installing Microsoft Edge..." +# Workaround to install version 85 since webdriver is broken for 86 +cd "$(brew --repo homebrew/homebrew-cask)" +git checkout 81f9d08d2b9b7557c0178621078cf59d2c5db2bc brew cask install microsoft-edge +git checkout master EDGE_INSTALLATION_PATH="/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge" EDGE_VERSION=$("$EDGE_INSTALLATION_PATH" --version | cut -d' ' -f 3) @@ -39,7 +43,7 @@ AUTOUPDATE_START="$HOME/Library/Preferences/com.microsoft.autoupdate2.plist" while [ ! -f "$AUTOUPDATE_START" ] do echo "Wait for MS update automatic installation" - sleep 30 + sleep 30 done echo "kill autoupdate process"