From 081f7b452fbad9c3200fc9fe25effa3592d5c843 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Fri, 16 Jun 2017 22:39:51 -0700 Subject: [PATCH] Bump Chrome version to 59.0.3071.104 and add ChromeDriver to image See https://chromereleases.googleblog.com/2017/06/stable-channel-update-for-desktop_15.html#gpluscomments for more details. --- scripts/install-chrome | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/install-chrome b/scripts/install-chrome index 28a5b71..8ebad28 100755 --- a/scripts/install-chrome +++ b/scripts/install-chrome @@ -2,7 +2,7 @@ set -xeo pipefail -CHROME_VERSION=${1:-59.0.3071.86-1} +CHROME_VERSION=${1:-59.0.3071.104-1} curl -sS -L https://dl.google.com/linux/linux_signing_key.pub | apt-key add - echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list @@ -10,3 +10,7 @@ echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /et apt-get update -q env DEBIAN_FRONTEND="noninteractive" apt-get install -y google-chrome-stable=$CHROME_VERSION rm -rf /var/lib/apt/lists/* + +# Install ChromeDriver +wget -q https://chromedriver.storage.googleapis.com/2.30/chromedriver_linux64.zip +unzip chromedriver_linux64.zip -d /usr/local/bin