我的点击动作:

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}


↙↙↙阅读原文可查看相关链接,并与作者交流