Error in launching Chrome on Android devices
When you play back a Web UI test in the Chrome browser that is installed on an Android device, the playback does not start and the unified report displays an error message.
Cause
The unified report displays the following error message: Error in launching Chrome. The browser might not be installed or you are using an unsupported version.
This issue is because the version of the Chrome browser on the Android device is different from the version of the Chrome driver.Resolution
You must perform the following steps:
- Download the appropriate Chrome driver.
- Provide the path and the file name of the Chrome driver in the environment variable WEBDRIVER_CHROME_DRIVER_MOBILE. For example, WEBDRIVER_CHROME_DRIVER_MOBILE=C:\Users\tester\Downloads\chromedriver.exe
- Go to the directory path <installation directory>/node-js/appium-server, and then restart the execution agent.