启动了 stf 平台,wda 会一直 testing
ios 12.4.1 wda 成功,也没报错,但是使用设备,黑屏
2019-10-11T01:28:58.756Z INF/ios-device:plugins:wdaProxy 816 [d90476478b2671c3cbe26b48c90a3f211d338a69] WDA 启动成功
2019-10-11T01:28:58.770Z INF/ios-device:plugins:wdaProxy 816 [d90476478b2671c3cbe26b48c90a3f211d338a69] start WDA with params:build-for-testing,test-without-building,-project,/Users/user/Desktop/文档/script/WebDriverAgent/WebDriverAgent.xcodeproj,-scheme,WebDriverAgentRunner,-destination,id=d90476478b2671c3cbe26b48c90a3f211d338a69,platform=iOS,-configuration,Debug,IPHONEOS_DEPLOYMENT_TARGET=10.2
2019-10-11T01:29:04.893Z INF/ios-device:plugins:wdaProxy 816 [d90476478b2671c3cbe26b48c90a3f211d338a69] xcodebuild 构建成功
再问下,wda 安装 运行./Scripts/bootstrap.sh,报错
Validating Inspector
Cannot find module 'eslint-config-appium'
安装 eslint-config-appium 后又报
Validating Inspector
appium:
Configuration for rule "indent" is invalid:
Value "data["1"].ImportDeclaration" has additional properties.
Value "off" is the wrong type.
这个怎么处理?
更新了,看日志一直循环这样的,一直刷~~~
2019-09-24T18:25:54.322Z INF/ios-device:plugins:wdaProxy 17895 [af12e7c16e83a3ef3688248668d480d150167098] exit with code :208
2019-09-24T18:25:54.322Z INF/ios-device:plugins:wdaProxy 17895 [af12e7c16e83a3ef3688248668d480d150167098] start iproxy with params:6109 8100 af12e7c16e83a3ef3688248668d480d150167098
2019-09-24T18:25:54.329Z INF/ios-device:plugins:wdaProxy 17895 [af12e7c16e83a3ef3688248668d480d150167098] exit with code :208
2019-09-24T18:25:54.330Z INF/ios-device:plugins:wdaProxy 17895 [af12e7c16e83a3ef3688248668d480d150167098] start iproxy with params:6110 9100 af12e7c16e83a3ef3688248668d480d150167098
i2019-09-23T18:20:29.416Z INF/ios-device:plugins:wdaCommands 79596 [af12e7c16e83a3ef3688248668d480d150167098] post request err { RequestError: Error: socket hang up
at new RequestError (/Users/user/stf/node_modules/_request-promise-core@1.1.2@request-promise-core/lib/errors.js:14:15)
at Request.plumbing.callback (/Users/user/stf/node_modules/_request-promise-core@1.1.2@request-promise-core/lib/plumbing.js:87:29)
at Request.RP$callback as _callback
at self.callback (/Users/user/stf/node_modules/_request@2.88.0@request/request.js:185:22)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at Request.onRequestError (/Users/user/stf/node_modules/_request@2.88.0@request/request.js:881:8)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at Socket.socketOnEnd (_http_client.js:437:9)
at emitNone (events.js:111:20)
at Socket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
name: 'RequestError',
message: 'Error: socket hang up',
cause: { Error: socket hang up
at createHangUpError (_http_client.js:342:15)
at Socket.socketOnEnd (_http_client.js:437:23)
at emitNone (events.js:111:20)
at Socket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9) code: 'ECONNRESET' },
error: { Error: socket hang up
at createHangUpError (_http_client.js:342:15)
at Socket.socketOnEnd (_http_client.js:437:23)
at emitNone (events.js:111:20)
at Socket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9) code: 'ECONNRESET' },
options:
{ method: 'POST',
uri: 'http://localhost:6349/wda/unlock',
body: {},
json: true,
headers: { 'Content-Type': 'application/json' },
callback: [Function: RP$callback],
transform: undefined,
simple: true,
resolveWithFullResponse: false,
transform2xxOnly: false },
response: undefined }
iphonX ios11.2.2 版本 RequestError: Error: socket hang up 打开屏幕黑屏
无法识别这些选项:wda-path, wda-port 这是没有安装成功么?