appium報錯:An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET


Appium Desktop版本:1.9.0

xcode版本:9.4.1

測試機:iPhone7  11.3系統

 

問題描述:在xcode上的produc的text運行是可以將WebDriverAgent成功安裝到手機上,但用代碼去運行時只能將APP安裝到手機上隨后WebDriverAgent自動被卸載然后appium報錯:An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET

 

解決辦法:

  將desired_capabilities中的platformName:ios改成platformName:iOS,還有將deviceName填寫正確的手機名稱

 

修改完后再次運行,可以成功。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM