Appium 请教各位一个问题,如图所示,这个提示框 XPath 没有读取出来,我利用坐标点击确定,driver.tap ([(249,372)],100),可是明显的结果是点击的取消,请问各位这个动作如何处理的

wallerson · 2017年09月29日 · 1118 次阅读

我的点击动作:

driver.tap([(249,372)],100)


以下是 appium 日志

[JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"3BFAC9E2-70DA-4595-8083-995318E66758","status":0}
[MJSONWP] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/5e308b27-a15f-4d7a-b85b-63a6191352ed/touch/perform 200 1471 ms - 76 
[HTTP] --> POST /wd/hub/session/5e308b27-a15f-4d7a-b85b-63a6191352ed/touch/perform {"actions":[{"action":"tap","options":{"x":258,"y":374,"count":1}}],"sessionId":"5e308b27-a15f-4d7a-b85b-63a6191352ed"}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"tap","options":{"x":258,"y":374,"count":1}}],"5e308b27-a15f-4d7a-b85b-63a6191352ed"]
[XCUITest] Executing command 'performTouch'
[XCUITest] Received the following touch action: tap(options={"x":258,"y":374,"count":1})
[XCUITest] Found matching gesture: tap
[JSONWP Proxy] Proxying [POST /wda/tap/0] to [POST http://localhost:8100/session/3BFAC9E2-70DA-4595-8083-995318E66758/wda/tap/0] with body: {"x":258,"y":374}
暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册