From ccfdef4fe8e93a9d8db1980a094b75ad3a66d672 Mon Sep 17 00:00:00 2001 From: Boni Garcia Date: Tue, 24 Jul 2018 17:18:41 +0200 Subject: [PATCH] Set default chromedriver version --- docker/Emulator_x86 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Emulator_x86 b/docker/Emulator_x86 index b7d9f8e..8b9c6fc 100644 --- a/docker/Emulator_x86 +++ b/docker/Emulator_x86 @@ -89,6 +89,7 @@ ARG PROCESSOR=x86 ARG SYS_IMG=x86 ARG IMG_TYPE=google_apis ARG BROWSER=android +ARG CHROME_DRIVER=2.40 ENV ANDROID_VERSION=$ANDROID_VERSION \ API_LEVEL=$API_LEVEL \ PROCESSOR=$PROCESSOR \ @@ -97,6 +98,7 @@ ENV ANDROID_VERSION=$ANDROID_VERSION \ BROWSER=$BROWSER \ CHROME_DRIVER=$CHROME_DRIVER ENV PATH ${PATH}:${ANDROID_HOME}/build-tools + RUN yes | sdkmanager --licenses && \ sdkmanager "platforms;android-${API_LEVEL}" "system-images;android-${API_LEVEL};${IMG_TYPE};${SYS_IMG}" "emulator"