请,关于一个问题,我需要您的帮助:
我当我发起我的测试从IPhone自动化6+与版本系统(12.1.2)获得与appium“WDA连接超时”此消息错误。我使用的XCode 10.1和WebDriverAgent安装与我IPhone.I成功加入你的日志的一部分Appium:
[XCUITest] Connection to WDA timed out
[iProxy] recv failed: Operation not permitted
[HTTP] --> POST /wd/hub/session/117cd327-7c9e-4888-971e-76b6c4c25237/timeouts
[HTTP] {"implicit":80000}
[W3C (117cd327)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,80000,"117cd327-7c9e-4888-971e-76b6c4c25237"]
[XCUITest] Executing command 'timeouts'
[BaseDriver] W3C timeout argument: {"implicit":80000}}
[BaseDriver] Set implicit wait to 80000ms
[W3C (117cd327)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/117cd327-7c9e-4888-971e-76b6c4c25237/timeouts 200 3 ms - 14
[HTTP]
[HTTP] --> POST /wd/hub/session/117cd327-7c9e-4888-971e-76b6c4c25237/timeouts
[HTTP] {"implicit":300000}
[W3C (117cd327)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,300000,"117cd327-7c9e-4888-971e-76b6c4c25237"]
[XCUITest] Executing command 'timeouts'
[BaseDriver] W3C timeout argument: {"implicit":300000}}
[BaseDriver] Set implicit wait to 300000ms
[W3C (117cd327)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/117cd327-7c9e-4888-971e-76b6c4c25237/timeouts 200 3 ms - 14
[HTTP]
[HTTP] --> POST /wd/hub/session/117cd327-7c9e-4888-971e-76b6c4c25237/touch/perform
[HTTP] {"actions":[{"action":"tap","options":{"x":220,"y":417}}]}
[W3C (117cd327)] Calling AppiumDriver.performTouch() with args: [[{"action":"tap","options":{"x":220,"y":417}}],"117cd327-7c9e-4888-971e-76b6c4c25237"]
和:
[XCUITest] WebDriverAgent information:
[XCUITest] {
[XCUITest] "state": "success",
[XCUITest] "os": {
[XCUITest] "name": "iOS",
[XCUITest] "version": "12.1.2"
[XCUITest] },
[XCUITest] "ios": {
[XCUITest] "simulatorVersion": "12.1.2",
[XCUITest] "ip": null
[XCUITest] },
[XCUITest] "build": {
[XCUITest] "time": "Jan 30 2019 12:28:16"
[XCUITest] }
之前,我有和没有这个问题,因为我用的XCode 9.2 appium 1.7和版本IOS系统(11.2.6)。
我读了其他问题,如矿山很多答案,但我没有找到解决办法。
非常感谢您
最好的问候,