selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred whi...

selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not find adb in,,, Do you have the Android SDK installed at '/Users/wxd/Library/Android/sdk'?

appium运行python脚本时出错:

这个问题是因为安卓的环境变量未配置好引起的,网上已经有很多的教程。但是就算将android_home等都设置好了,居然还遇到这个问题,原因是在于你的appium server需要重启一下,它指向的端口默认是4723,重启后会新加载环境变量,然后解决。

你可能感兴趣的:(selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred whi...)