Title: Cannot perform "tap" · Issue #172 · appium/java-client · GitHub
Open Graph Title: Cannot perform "tap" · Issue #172 · appium/java-client
X Title: Cannot perform "tap" · Issue #172 · appium/java-client
Description: Hi , I'm trying to perform a tap and it's doesn't work for me. using java_client 2.1.0 IOS 8.1 (simulaor) the log is : info: [debug] Got result from instruments: {"status":0,"value":{"origin":{"x":25,"y":443},"size":{"width":94,"height":...
Open Graph Description: Hi , I'm trying to perform a tap and it's doesn't work for me. using java_client 2.1.0 IOS 8.1 (simulaor) the log is : info: [debug] Got result from instruments: {"status":0,"value":{"origin":{"x":...
X Description: Hi , I'm trying to perform a tap and it's doesn't work for me. using java_client 2.1.0 IOS 8.1 (simulaor) the log is : info: [debug] Got result from instruments: {"status":0,&...
Opengraph URL: https://github.com/appium/java-client/issues/172
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot perform \"tap\"","articleBody":"Hi , \nI'm trying to perform a tap and it's doesn't work for me.\nusing java_client 2.1.0\nIOS 8.1 (simulaor)\n\nthe log is :\n\n```\ninfo: [debug] Got result from instruments: {\"status\":0,\"value\":{\"origin\":{\"x\":25,\"y\":443},\"size\":{\"width\":94,\"height\":25}}}\ninfo: [debug] Pushing command to appium work queue: \"target.touch([{\\\"touch\\\":[{\\\"x\\\":72,\\\"y\\\":455.5}],\\\"time\\\":0.2},{\\\"touch\\\":[{\\\"x\\\":72,\\\"y\\\":455.5}],\\\"time\\\":3.2}])\"\ninfo: [debug] Sending command to instruments: target.touch([{\"touch\":[{\"x\":72,\"y\":455.5}],\"time\":0.2},{\"touch\":[{\"x\":72,\"y\":455.5}],\"time\":3.2}])\ninfo: [debug] [INST] 2015-03-19 09:40:23 +0000 Debug: Got new command 5 from instruments: target.touch([{\"touch\":[{\"x\":72,\"y\":455.5}],\"time\":0.2},{\"touch\":[{\"x\":72,\"y\":455.5}],\"time\":3.2}])\n\ninfo: [debug] [INST] 2015-03-19 09:40:23 +0000 Debug: evaluating target.touch([{\"touch\":[{\"x\":72,\"y\":455.5}],\"time\":0.2},{\"touch\":[{\"x\":72,\"y\":455.5}],\"time\":3.2}])\ninfo: [debug] [INST] 2015-03-19 09:40:23 +0000 Debug: target.touch(__NSCFArray)\n```\n\nbut if I'm using the inspector's Precise tap oprion it does work , and the log is :\n\n```\ninfo: --\u003e POST /wd/hub/session/c735b07e-4ff5-4766-a45e-8cd069e89d8b/execute {\"script\":\"mobile: tap\",\"args\":[{\"y\":112,\"touchCount\":1,\"x\":86,\"tapCount\":1,\"duration\":0.6}]}\n\ninfo: [debug] Pushing command to appium work queue: \"au.complexTap({\\\"tapCount\\\":1,\\\"touchCount\\\":1,\\\"duration\\\":0.6,\\\"x\\\":86,\\\"y\\\":112})\"\ninfo: [debug] Sending command to instruments: au.complexTap({\"tapCount\":1,\"touchCount\":1,\"duration\":0.6,\"x\":86,\"y\":112})\ninfo: [debug] [INST] 2015-03-19 09:42:57 +0000 Debug: Got new command 34 from instruments: au.complexTap({\"tapCount\":1,\"touchCount\":1,\"duration\":0.6,\"x\":86,\"y\":112})\ninfo: [debug] [INST] 2015-03-19 09:42:57 +0000 Debug: evaluating au.complexTap({\"tapCount\":1,\"touchCount\":1,\"duration\":0.6,\"x\":86,\"y\":112})\ninfo: [debug] [INST] 2015-03-19 09:42:57 +0000 Debug: target.tapWithOptions({x:\"86\", y:\"112\"}, {touchCount:\"1\", tapCount:\"1\", duration:\"0.6\"})\ninfo: [debug] [INST] 2015-03-19 09:42:58 +0000 Debug: evaluation finished\n```\n\nAny idea why it doesn't work ? (Appium's bug ?)\n","author":{"url":"https://github.com/igalep","@type":"Person","name":"igalep"},"datePublished":"2015-03-19T11:08:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/172/java-client/issues/172"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:109f6956-3720-5ed2-06c5-54491f7dc2df |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2BC:D9D56:DD4940:13E8A13:6A5F8810 |
| html-safe-nonce | ef63d60a766ac353cc51f7cf82f98237ae720107f1878efb81799eaa6bf12cdc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkJDOkQ5RDU2OkRENDk0MDoxM0U4QTEzOjZBNUY4ODEwIiwidmlzaXRvcl9pZCI6IjM3NTQ2NDg0MDIxMDEyMjc2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dd590026aa9be2917fa1a8fb94325694c5e71ccdb37b73903e248d84c79544c3 |
| hovercard-subject-tag | issue:62956934 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/appium/java-client/172/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3707b608f114a1385b32911f5cb07705017d530bae65ad2f1b7575769c0a75a8/appium/java-client/issues/172 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3707b608f114a1385b32911f5cb07705017d530bae65ad2f1b7575769c0a75a8/appium/java-client/issues/172 |
| og:image:alt | Hi , I'm trying to perform a tap and it's doesn't work for me. using java_client 2.1.0 IOS 8.1 (simulaor) the log is : info: [debug] Got result from instruments: {"status":0,"value":{"origin":{"x":... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | igalep |
| hostname | github.com |
| expected-hostname | github.com |
| None | 97f2f300269b0002088b1cbd0557a5c7e2cd7179ab6962f24dc5fff865a3ef9b |
| turbo-cache-control | no-preview |
| go-import | github.com/appium/java-client git https://github.com/appium/java-client.git |
| octolytics-dimension-user_id | 3221291 |
| octolytics-dimension-user_login | appium |
| octolytics-dimension-repository_id | 18454064 |
| octolytics-dimension-repository_nwo | appium/java-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 18454064 |
| octolytics-dimension-repository_network_root_nwo | appium/java-client |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5eacb64e94d3c0388291748236c995e36b9883e0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width