appium运行报错Add `clearSystemFiles` capability if wanted. 和socket hang up的解决


1. socket hang up

频繁执行脚本时,或者批量执行unittest用例,可能会出现如下报错:

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

 

尝试过的解决办法有:

1).重启手机,之后没有出现

或者

2).卸载appium,卸载app ,再重新安装appium,安装app,运行之后没有报错

请参考https://testerhome.com/topics/11403?locale=en

 

寻求根本解决办法中

 

2. Add `clearSystemFiles` capability if wanted. 

重新卸载appium再安装 可以运行了。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM