{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/6450","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/6450/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/6450/comments","events_url":"https://api.github.com/repos/appium/appium/issues/6450/events","html_url":"https://github.com/appium/appium/issues/6450","id":151946882,"number":6450,"title":"Appium 1.5.2, Android (mobile Chrome): tap throws \"method has not yet been implemented\" exception in webview context","user":{"login":"amaharana","id":10845158,"avatar_url":"https://avatars.githubusercontent.com/u/10845158?v=3","gravatar_id":"","url":"https://api.github.com/users/amaharana","html_url":"https://github.com/amaharana","followers_url":"https://api.github.com/users/amaharana/followers","following_url":"https://api.github.com/users/amaharana/following{/other_user}","gists_url":"https://api.github.com/users/amaharana/gists{/gist_id}","starred_url":"https://api.github.com/users/amaharana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaharana/subscriptions","organizations_url":"https://api.github.com/users/amaharana/orgs","repos_url":"https://api.github.com/users/amaharana/repos","events_url":"https://api.github.com/users/amaharana/events{/privacy}","received_events_url":"https://api.github.com/users/amaharana/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/Android","name":"Android","color":"ADFF2F"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-29T19:06:50Z","updated_at":"2016-05-01T11:28:41Z","closed_at":null,"body":"## The problem\r\nIn Appium 1.4.10, I was using \"mobile: tap\" to perform tap options on mobile Chrome. Since this has been removed in Appium 1.5.2, I switched to driver.tap(). This works in native context, but in webview context (\"CHROMIUM\"), it throws an exception.\r\n\r\n\r\n```\r\ndriver.getContextHandles()\r\n// 0 = \"NATIVE_APP\"\r\n// 1 = \"CHROMIUM\"\r\n```\r\nThis works fine. The coordinates are very close to the top, so I see a quick flash of the notification center being pulled down.\r\n```\r\ndriver.context(\"NATIVE_APP\");\r\ndriver.tap(1, 10, 49, 1);\r\n```\r\n\r\nThis throws an exception:\r\n```\r\ndriver.context(\"CHROMIUM\");\r\ndriver.tap(1, 10, 49, 1);\r\n```\r\nClient log:\r\n```\r\nMethod has not yet been implemented (WARNING: The server did not provide any stacktrace information)\r\nCommand duration or timeout: 8 milliseconds\r\n```\r\nServer log (replaced webview url):\r\n```\r\n[debug] [AndroidDriver] Available contexts: [\"NATIVE_APP\",\"CHROMIUM\"]\r\n[debug] [AndroidDriver] Connecting to chrome-backed webview context 'CHROMIUM'\r\n[debug] [AndroidDriver] Found existing Chromedriver for context 'CHROMIUM'. Using it.\r\n[JSONWP Proxy] Proxying [GET /url] to [GET http://127.0.0.1:9515/wd/hub/session/bf79e635e6902a8117b3e915edc0930d/url] with no body\r\n[JSONWP Proxy] Got response with status 200: \"{\\\"sessionId\\\":\\\"bf79e635e6902a8117b3e915edc0930d\\\",\\\"status\\\":0,\\\"value\\\":\\\"http://www.someurl.com/\\\"}\"\r\n[MJSONWP] Responding to client with driver.setContext() result: null\r\n[HTTP] <-- POST /wd/hub/session/99aee2b9-acef-4d2f-bb86-715c42b96cc9/context 200 33 ms - 76\r\n[HTTP] --> POST /wd/hub/session/99aee2b9-acef-4d2f-bb86-715c42b96cc9/touch/perform {\"actions\":[{\"action\":\"press\",\"options\":{\"x\":10,\"y\":49}},{\"action\":\"wait\",\"options\":{\"ms\":1}},{\"action\":\"release\",\"options\":{}}]}\r\n[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{\"action\":\"press\",\"options\":{\"x\":10,\"y\":49}},{\"action\":\"wait\",\"options\":{\"ms\":1}},{\"action\":\"release\",\"options\":{}}],\"99aee2b9-acef-4d2f-bb86-715...\r\n[HTTP] <-- POST /wd/hub/session/99aee2b9-acef-4d2f-bb86-715c42b96cc9/touch/perform 501 4 ms - 122\r\n```\r\n\r\n\r\n\r\n## Environment\r\n* Appium version (or git revision) that exhibits the issue: 1.5.2\r\n* Last Appium version that did not exhibit the issue (if applicable): 1.4.10 (with mobile: tap)\r\n* Desktop OS/version used to run Appium: Mac OSX Yosemite 10.10.5\r\n* Node.js version (unless using Appium.app|exe): 5.7.0\r\n* Real device or emulator/simulator: Android Nexus 6 6.0.1 (real device) with Chrome 50.0.2661.89\r\n* Appium CLI or Appium.app|exe: Appium 1.5.2 CLI built from source\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/216035911","html_url":"https://github.com/appium/appium/issues/6450#issuecomment-216035911","issue_url":"https://api.github.com/repos/appium/appium/issues/6450","id":216035911,"user":{"login":"SrinivasanTarget","id":8896549,"avatar_url":"https://avatars.githubusercontent.com/u/8896549?v=3","gravatar_id":"","url":"https://api.github.com/users/SrinivasanTarget","html_url":"https://github.com/SrinivasanTarget","followers_url":"https://api.github.com/users/SrinivasanTarget/followers","following_url":"https://api.github.com/users/SrinivasanTarget/following{/other_user}","gists_url":"https://api.github.com/users/SrinivasanTarget/gists{/gist_id}","starred_url":"https://api.github.com/users/SrinivasanTarget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SrinivasanTarget/subscriptions","organizations_url":"https://api.github.com/users/SrinivasanTarget/orgs","repos_url":"https://api.github.com/users/SrinivasanTarget/repos","events_url":"https://api.github.com/users/SrinivasanTarget/events{/privacy}","received_events_url":"https://api.github.com/users/SrinivasanTarget/received_events","type":"User","site_admin":false},"created_at":"2016-05-01T11:28:41Z","updated_at":"2016-05-01T11:28:41Z","body":"https://github.com/appium/appium/issues/4075"}}