Recently encountered two problems in the use of Appium is tricky, spend a lot of time to solve, record.
1.appium chromedriver error when switching from Nativeapp to WebView in hybrid applications, prompting Chromedriver version must be xxx,chrome version must be greater than XXXX, This is because the Chromedriver version in Appium is too high and must be replaced by a lower version of Chromedriver, such as version 1.4. Download a lower version of Chromedriver and replace the chrome driver in the Appium folder.
2.appium There are several cases of 253 error, but this situation without detailed error hints, it is difficult to find the reason, because after the iphone system upgrade, the original installed app script ran a direct error, reported instruments exited with 253 error, My solution here is to refill all the options in the Appium UI, remove all relevant apps from the phone, and finally develop a colleague to re-use the developer certificate to install the app again, so the script can run the app again. But I think it's best not to easily upgrade the test iphone in the future because it took me a long time to solve the problem.
Appium report chromedriver error and instruments exited with 253 error resolution