【发布时间】:2021-01-29 17:37:23
【问题描述】:
在运行 iOS 真机时,我在 Appium 上收到“错误:超过 1000 毫秒的超时”错误。 我尝试了每一个“期望的能力”来增加超时但没有成功。
我想要的能力:
{
"deviceName": "iphone6s",
"platformName": "IOS",
"udid": "adbc8013455614ce0933a50aervgt7424077bc79",
"bundleId": "xxxxxxxxxxx",
"automationName": "XCUITest",
"wdaConnectionTimeout": 1000000,
"newCommandTimeout": 15000,
"wdaLaunchTimeout": 240000,
"wdaStartupRetryInterval": 100000,
"wdaLocalPort": 8102,
"showXcodeLog": true,
"usePrebuiltWDA": false
}
日志:
[iProxy@abb801b1:8102] Connection was refused to port 8102
[WD Proxy] socket hang up
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8102/status] with no body
[iProxy@abb801b1:8102] Connection was refused to port 8102
[WD Proxy] socket hang up
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8102/status] with no body
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8102/status] with no body
[WD Proxy] Error: timeout of 1000ms exceeded
【问题讨论】:
标签: appium appium-ios