I’m trying to automate E2E test cases of a hybrid app using the Ubuntu & Docker, on Ubuntu 20.04 stack and the available Android emulators (I’m using the AVD Manager step) but the Chrome version in the emulator (Pixel, Android API Level 30) seems to be very old (83.0.4103.106):
[0-0] 2022-08-11T13:40:07.136Z WARN webdriver: Request failed with status 500 due to An unknown server-side error occurred while processing the command. Original error: A new session could not be created. Details: session not created: This version of ChromeDriver only supports Chrome version 104
[0-0] Current browser version is 83.0.4103.106 with package name com.android.chrome
Open Android emulator from AVD (Mine was Google Pixel 2 - v9.0),
Ensure Android emulator has opened successfully by $ adb devices(It will give you the Android emulator device name, e.g: emulator-5554)
Now download the Google Chrome apk from apkmirror, Mine was Version: 76.0.3809.111 (380911115) x86
Now use this command to install the downloaded Google chrome apk to the opened Android emulator: $ adb install /path/to/downloaded/chrome/apk
Above command must return Success
Open Chrome browser on Android device and check the version, it must match with the downloaded chrome version.
Thanks for the reply.
I’ve tried that but when I try to download the .apk by doing wget https://www.apkmirror.com/apk/google-inc/chrome/chrome-104-0-5112-97-release/google-chrome-fast-secure-104-0-5112-97-3-android-apk-download/download/?key=47a525bafa3a6ca33ff568f0d27aaff8c04bc442&forcebaseapk=true
Hi Damien,
Thanks for the tip. However, I cannot use Generic File Storage because it exceeds the 5MB limit.
In addition, I couldn’t find a better link yet.
The important thing is that there’s a way to install the Chrome version I need
I won’t be able to reply to this thread in the next week but I’ll come back with the conclusion of this later error analysis.