Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Appium Automatic Server - No Chromedriver found that can automate Chrome '68.0.3440'

I'm trying to connect a physical Android device to Appium Automatic Server. The capabilities are:

{
  "platformName": "Android",
  "platformVersion": "8.1.0",
  "deviceName": "Oreo",
  "browserName": "Chrome"
}

When I click "Start Session" it says

An unknown server-side error occurred while processing the command. Original error: No Chromedriver found that can automate Chrome '68.0.3440'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.

Going to https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md it says I need version 2.4.2. I tried installing it with npm install -g appium-chromedriver --chromedriver_version="2.42", is this not the right command?

I also tried downloading the zip here https://chromedriver.storage.googleapis.com/index.html?path=2.42/ and running it to no avail.

like image 419
John Hazlitt Avatar asked Oct 28 '25 05:10

John Hazlitt


1 Answers

Try the below commands if you are turning on Appium server from command prompt.

npm install appium --chromedriver_version="2.42"

or 

CHROMEDRIVER_VERSION=2.42 npm install appium

If you are turning on appium server from Appium desktop app.

Provide the path of the chromedriver binary in the highlighted field.

enter image description here

like image 136
Uday Seshadri Avatar answered Oct 31 '25 03:10

Uday Seshadri