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.
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.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With