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刪除。



猜您在找 Appium異常:An unknown server-side error occurred while processing the command. Original error: Could n python appium自動化報“Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server 報錯:Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET Appium報錯: An unknown server-side error occurred while processing the command. Original error: java.lang.SecurityException: Injecting to another application requires INJECT_EVENTS permission appium 報錯:selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Can't stop process; it's not currently runni... Appium(四) selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: You must include a platformName capability python+appium運行提示找不到adb.exe “An unknown server-side error occurred while processing the command. Original error: Could not find 'adb.exe' in ["D:\\adt\\sdk;\\platform-tools\\adb.exe"” Appium問題解決方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate. 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
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM