Code Monkey home page Code Monkey logo

Comments (6)

jensakejohansson avatar jensakejohansson commented on May 31, 2024

People in my team have seen this issue with "mobile: tap" (on IPhone) as well. The action as no effect. I don't have the logs in front of me now, just wanted to confirm that this seems to be a problem.

from appium.

eglitise avatar eglitise commented on May 31, 2024

One option is mobile: tapWithNumberOfTaps, although it also requires the element ID. If 2 taps are enough, there is mobile: doubleTap (no element ID required), in my experience it is relatively fast.

from appium.

mykola-mokhnach avatar mykola-mokhnach commented on May 31, 2024

I assume it is not interpreted as expected because there is always a latency between each server command. Try the above API as @eglitise suggested or build a W3C actions chain.

from appium.

emre89 avatar emre89 commented on May 31, 2024

People in my team have seen this issue with "mobile: tap" (on IPhone) as well. The action as no effect. I don't have the logs in front of me now, just wanted to confirm that this seems to be a problem.

The logs are here :

Calling AppiumDriver.getTimeouts() with args: ["fa674d35-1d25-4d43-9797-fd127fa993d4"]
[XCUITestDriver@f54e (fa674d35)] Executing command 'getTimeouts'
[XCUITestDriver@f54e (fa674d35)] Responding to client with driver.getTimeouts() result: {"command":3600000,"implicit":0}
[HTTP] <-- GET /session/fa674d35-1d25-4d43-9797-fd127fa993d4/timeouts 304 1 ms - -
[HTTP]
[HTTP] Request idempotency key: 43315b7b-98bb-4a2c-9882-dea77c95c5c8
[HTTP] --> POST /session/074de159-4c43-4b6b-b0d5-3a0a4364831a/execute/sync
[HTTP] {"script":"mobile: tap","args":[{"element":"E5000000-0000-0000-CE1C-000000000000","x":134,"y":373}]}
[XCUITestDriver@2672 (074de159)] Calling AppiumDriver.execute() with args: ["mobile: tap",[{"element":"E5000000-0000-0000-CE1C-000000000000","x":134,"y":373}],"074de159-4c43-4b6b-b0d5-3a0a4364831a"]
[XCUITestDriver@2672 (074de159)] Executing command 'execute'
[XCUITestDriver@2672 (074de159)] Proxying to WDA with an unknown route: POST /wda/tap/E5000000-0000-0000-CE1C-000000000000
[XCUITestDriver@2672 (074de159)] Setting custom timeout to 150000 ms for 'Unknown' command
[XCUITestDriver@2672 (074de159)] Proxying [POST /wda/tap/E5000000-0000-0000-CE1C-000000000000] to [POST http://127.0.0.1:8100/session/7DF3AF65-A305-4274-8D64-142F719866B0/wda/tap/E5000000-0000-0000-CE1C-000000000000] with body: {"x":134,"y":373}
[XCUITestDriver@2672 (074de159)] Got response with status 200: {"value":null,"sessionId":"7DF3AF65-A305-4274-8D64-142F719866B0"}

[XCUITestDriver@2672 (074de159)] Responding to client with driver.execute() result: null
[HTTP] <-- POST /session/074de159-4c43-4b6b-b0d5-3a0a4364831a/execute/sync 200 518 ms - 14
[HTTP]
[HTTP] --> GET /session/fa674d35-1d25-4d43-9797-fd127fa993d4/timeouts
[HTTP] {}
[XCUITestDriver@f54e (fa674d35)] Calling AppiumDriver.getTimeouts() with args: ["fa674d35-1d25-4d43-9797-fd127fa993d4"]
[XCUITestDriver@f54e (fa674d35)] Executing command 'getTimeouts'
[XCUITestDriver@f54e (fa674d35)] Responding to client with driver.getTimeouts() result: {"command":3600000,"implicit":0}
[HTTP] <-- GET /session/fa674d35-1d25-4d43-9797-fd127fa993d4/timeouts 304 2 ms - -
[HTTP]
[HTTP] --> GET /session/fa674d35-1d25-4d43-9797-fd127fa993d4/timeouts
[HTTP] {}
[XCUITestDriver@f54e (fa674d35)] Calling AppiumDriver.getTimeouts() with args: ["fa674d35-1d25-4d43-9797-fd127fa993d4"]
[XCUITestDriver@f54e (fa674d35)] Executing command 'getTimeouts'

from appium.

burtonemily avatar burtonemily commented on May 31, 2024

I'm also having issues with tap gesture, it seems like the gestures function has been updated somewhere, to only accept an array now, but I'm trying to do a single tap on a (x , y) coordinate.

I'm not entirely sure if this is the same issue though.

UnknownError: An unknown server-side error occurred while processing the command. Original error: Error Domain=com.facebook.WebDriverAgent Code=1 "'action' property is mandatory for gesture chain item { type = pointer; x = 34; y = 498; }" UserInfo={NSLocalizedDescription='action' property is mandatory for gesture chain item { type = pointer; x = 34; y = 498; }}

from appium.

mykola-mokhnach avatar mykola-mokhnach commented on May 31, 2024

@burtonemily Your issue is unrelated and is caused by the invalid input.

Closed as not an issue

from appium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.