两个问题,求助各位
[W3C] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":540,"y":972}},{"action":"wait","options":{"ms":1500}},{"action":"moveTo","options":{"x":540,"y":108}},{"action":"release","options":{}}],"ba3c2b7a-137a-4a6b-aad6-cf3d9853f79e"]
[JSONWP Proxy] Proxying [POST /touch/perform] to [POST http://localhost:8200/wd/hub/session/1a3cb740-ee8-88ed22f51de8/touch/perform] with body: {"startX":540,"startY":972,"endX":540,"endY":108,"steps":42}
[W3C] Encountered internal error running command: {"w3cStatus":400,"jsonwp":{"sessionId":"1a3cb740-eae8-47ce-b5e8-88ed22f51de8","status":13,"value":"Swipe did not complete successfully"}} ProxyRequestError: Could not proxy command to remote server. Original error: 500 - {"sessionId":"1a3cb740-eae8-47ce-b5e8-88ed22f51de8","status":13,"value":"Swipe did not complete successfully"}
[W3C] at JWProxy.proxy$ (C:\Program Files (x86)\Appium\resources\app\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:152:13)
[W3C] at tryCatch (C:\Program Files (x86)\Appium\resources\app\node_modules\appium-base-driver\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[W3C] at GeneratorFunctionPrototype.invoke as _invoke
[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) as throw
[W3C] at GeneratorFunctionPrototype.invoke (C:\Program Files (x86)\Appium\resources\app\node_modules\appium-base-driver\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[W3C] at
[MJSONWP] Matched JSONWP error code 13 to UnknownError
方式一,uiautomatorviewer 定位显示,不能定位到楼层选择元素
方式二,appium inspector 定位显示,可以定位到但 xpath 路径可能有问题,inspector 已给出提示
上下文环境