运行appium来测试用例的时候,报错:
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: socket hang up
解决思路:
-
这个报错是你掉了一些appium不支持的方法
driver.close()这个是selenium中的,你换成driver.close_app()或者driver.quit()就正常
结果:成功解决!