Comments (6)
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.
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.
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.
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.
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.
@burtonemily Your issue is unrelated and is caused by the invalid input.
Closed as not an issue
from appium.
Related Issues (20)
- WebDriverAgent use-prebuilt-wda is broken HOT 12
- bug: getWindowHandles return 1 when open a new window on Safari (iOS 17.4) HOT 2
- _XCT_requestScreenshot in iOS 13.1.2 real device,doesn't work HOT 2
- bug: WDA getStatus keeps waiting when giving wdaLocalPort HOT 7
- [iOS] bug: executing script 'mobile: swipe' with no element specified fails proxying to unknown route /wda/swipe HOT 2
- [Feat]: if devicectl command can modify defaults HOT 3
- How can I download files from an iOS real device to my local automation project, i use Appium, webDriverIO, and TypeScript. I would appreciate any pieces of advice HOT 1
- Bypassing adb start-server When Connecting to a Remote ADB Host HOT 9
- bug: PointOption.tap cannot be performed on Xiaomi Redmi Note 12 Pro 5G. HOT 2
- bug: minor documentation syntax issue HOT 2
- npm i appium HOT 1
- Apps
- [Feat]:运行WebDriverAgent后出现的Automation Running hold both volume buttons to stop 这个提示如何修改文字内容 HOT 1
- [Feat]:"Automaton Running hold both volume buttons to stop" HOT 1
- Changing Language from iOS settings causes appium to crash and the change doesnt go through HOT 1
- Support prefs URL scheme for iOS devices HOT 6
- bug: Continuously getting alert text in webview HOT 2
- Can not see elements inside WebView Element with XCUITest on simulator(with UIAutomator2 it works) HOT 18
- bug: Error when interacting with elements on iOS HOT 8
- Not able to switch to Webview context HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium.