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填写正确的手机名称

 

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

 

相关文章:

  • 2021-05-29
  • 2021-10-30
  • 2021-09-30
  • 2021-12-24
  • 2021-06-05
  • 2022-12-23
  • 2021-04-19
  • 2022-12-23
猜你喜欢
  • 2021-10-18
  • 2021-10-23
  • 2022-02-16
  • 2021-11-02
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案