Support Chrome 84

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2020-07-15 15:34:18 +02:00
parent d8bb1b8602
commit 16a47f96cc
No known key found for this signature in database
GPG key ID: 98DFFD1C0C62B70B

View file

@ -6,7 +6,6 @@ IFS=$'\n\t'
source scripts/build-helpers.sh
function print_golang_args() {
case "$1" in
1.12)
INSTALL_GOLANG_VERSION=1.12.13
@ -28,7 +27,8 @@ function print_golang_args() {
}
# If you add a new minor version here, be sure to check that the
# ChromeDriver supports this: https://sites.google.com/a/chromium.org/chromedriver/downloads
# ChromeDriver supports this: https://sites.google.com/a/chromium.org/chromedriver/downloads.
# Chrome versions can be found at https://www.ubuntuupdates.org/pm/google-chrome-stable.
# You may need to bump the version in scripts/install-chrome.
function print_chrome_args() {
case "$1" in
@ -56,6 +56,10 @@ function print_chrome_args() {
CHROME_VERSION=83.0.4103.61-1
CHROME_DRIVER_VERSION=83.0.4103.39
;;
84|84.0)
CHROME_VERSION=84.0.4147.89-1
CHROME_DRIVER_VERSION=84.0.4147.30
;;
*) echo "Unknown chrome version $1"; exit 1;
esac
printf -- "--build-arg CHROME_VERSION=%s " "$CHROME_VERSION"