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