appium: [Appium@1.6.0beta1] Calling driver.tap in XCUITest mode throws "Support for gestures other than Tap is not yet implemented" exception
The problem
calling driver.tap method immediately fails the test
Environment
- Appium version (or git revision) that exhibits the issue: 1.6.0beta1
- Last Appium version that did not exhibit the issue (if applicable): 1.5.3
- Desktop OS/version used to run Appium: 10.11.6
- Node.js version (unless using Appium.app|exe):5.4.1
- Mobile platform/version under test: 9.3
- Real device or emulator/simulator: Simulator
- Appium CLI or Appium.app|exe: CLI
Details
See below
Link to Appium logs
2016-09-13 13:45:51:872 - info: [HTTP] --> POST /wd/hub/session/fc90e4e8-0ba6-4aad-92d6-5303931af43a/touch/perform {"actions":[{"action":"press","options":{"x":343,"y":639}},{"action":"wait","options":{"ms":125}},{"action":"release","options":{}}]}
2016-09-13 13:45:51:877 - info: [MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","option...
2016-09-13 13:45:51:879 - info: [debug] [XCUITest] Executing command 'performTouch'
2016-09-13 13:45:51:916 - info: [HTTP] <-- POST /wd/hub/session/fc90e4e8-0ba6-4aad-92d6-5303931af43a/touch/perform 501 10 ms - 175
2016-09-13 13:45:57:328 - info: [HTTP] --> DELETE /wd/hub/session/fc90e4e8-0ba6-4aad-92d6-5303931af43a {}
2016-09-13 13:45:57:329 - info: [MJSONWP] Calling AppiumDriver.deleteSession() with args: ["fc90e4e8-0ba6-4aad-92d6-5...
2016-09-13 13:45:57:331 - info: [XCUITest] Shutting down WebDriverAgent
2016-09-13 13:45:57:336 - info: [XCUITest] Simulator log exited with code 'null'
2016-09-13 13:45:57:350 - info: [XCUITest] xcodebuild exited with code 'null' and signal 'SIGTERM'
2016-09-13 13:45:57:352 - info: [debug] [XCUITest] Resetting simulator
2016-09-13 13:45:57:354 - info: [debug] [XCUITest] Shutting down simulator
Code To Reproduce Issue [ Good To Have ]
driver.tap(1, x, y, 125);
org.openqa.selenium.WebDriverException: Support for gestures other than Tap is not yet implemented. Please contact an Appium dev (WARNING: The server did not provide any stacktrace information)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 32 (4 by maintainers)
Yes, it should be translated in
performTouch
and sent to the tap method. Alas.