Hi, I would like to click on a ImageView. This Imageview has attribute clickable to false, for this reason I am trying to use tap:
Appium v1.21.0 /// Android
new TouchAction(driver).tap(new PointOption().withCoordinates(400,900)).perform();
I have my device configured to see where I clink on screen. With the line before I can see that tap where it should be but its like not “clicked”, nothing happen.
Should I use another action?
Thanks
I attach an image from UI Automator Viewer
This is what get from Terminal:
[HTTP] --> POST /wd/hub/session/9a7c8a59-d335-4d06-a5f9-ca497e9606d6/touch/perform
[HTTP] {“actions”:[{“action”:“tap”,“options”:{“x”:400,“y”:900}}]}
[debug] [W3C (9a7c8a59)] Calling AppiumDriver.performTouch() with args: [[{“action”:“tap”,“options”:{“x”:400,“y”:900}}],“9a7c8a59-d335-4d06-a5f9-ca497e9606d6”]
[debug] [WD Proxy] Proxying [POST /appium/tap] to [POST http://127.0.0.1:8200/wd/hub/session/4e5cbbdb-a2c9-498c-8dfd-e73710958eb1/appium/tap] with body: {“x”:400,“y”:900,“undefined”:null}
[debug] [WD Proxy] Got response with status 200: {“sessionId”:“4e5cbbdb-a2c9-498c-8dfd-e73710958eb1”,“value”:null}
[debug] [W3C (9a7c8a59)] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/9a7c8a59-d335-4d06-a5f9-ca497e9606d6/touch/perform 200 142 ms - 14