background
Use appium to do something.
Error report after running:
An unknown server-side error occurred while processing the command. Original error: chrome not reachable
problem analysis
My control script should be no problem, running well on my own computer, so it must be a problem of environment.
From the following aspects:
1、Chrome Driver
2、ADB
3、Appium Desired Capabilities
First, analyze chrome driver to see if it matches the target chrome version on your phone.
Let’s see if the ADB version is the latest or matches your mobile system version.
The problem I have here is that the version of ADB is too low to work properly.
Next, let’s see if several key attributes in desired capabilities code> match the mobile phone you want to operate. Focus on the following:
platformNameplatformVersionautomationName
resolvent
After the above analysis, the solution is natural.
For my problems, update ADB.
Run again to solve the problem.
Here is just to provide you with an idea, you can choose flexibly according to your own situation.
Attached: reference materials
Appium official document: http://appium.io/docs/en/writing-running-appium/caps/Github Issue: https://github.com/appium/appium/issues/10129