{"action":"created","issue":{"url":"https://api.github.com/repos/appium/java-client/issues/241","labels_url":"https://api.github.com/repos/appium/java-client/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/appium/java-client/issues/241/comments","events_url":"https://api.github.com/repos/appium/java-client/issues/241/events","html_url":"https://github.com/appium/java-client/issues/241","id":105521035,"number":241,"title":"Unable to scroll using coordinates in iOS Simulator e.g. in UIACatalog app","user":{"login":"amitjaincoer191","id":7996111,"avatar_url":"https://avatars.githubusercontent.com/u/7996111?v=3","gravatar_id":"","url":"https://api.github.com/users/amitjaincoer191","html_url":"https://github.com/amitjaincoer191","followers_url":"https://api.github.com/users/amitjaincoer191/followers","following_url":"https://api.github.com/users/amitjaincoer191/following{/other_user}","gists_url":"https://api.github.com/users/amitjaincoer191/gists{/gist_id}","starred_url":"https://api.github.com/users/amitjaincoer191/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitjaincoer191/subscriptions","organizations_url":"https://api.github.com/users/amitjaincoer191/orgs","repos_url":"https://api.github.com/users/amitjaincoer191/repos","events_url":"https://api.github.com/users/amitjaincoer191/events{/privacy}","received_events_url":"https://api.github.com/users/amitjaincoer191/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-09T05:17:08Z","updated_at":"2015-09-11T12:46:58Z","closed_at":null,"body":"I am using appium 1.3.4\r\njavaclient 3.1\r\niOS O/S version - OS X Yosemite version 10.10.3\r\niOS Simulator - 8.1\r\n\r\nI am unable to scroll using coordinates in iOS Simulator in UIACatalog app\r\nI tried different ways but it didn't scroll If i use coordinates If I use WebElement directly it scrolls\r\n\r\n// This doesnt work\r\nstartx = driver.findElementByAccessibilityID(\"Alert Controller\").getLocation.getX();\r\nstarty = driver.findElementByAccessibilityID(\"Alert Controller\").getLocation.getY();\r\nendx = driver.findElementByAccessibilityID(\"Sliders\").getLocation.getX();\r\nendy = driver.findElementByAccessibilityID(\"Sliders\").getLocation.getY();\r\ndriver.swipe(startx,starty,endx,endy,2000);\r\n\r\n// This works\r\nTouchAction act = new TouchAction(driver);\r\nWebElement To_elem = driver.findElementByAccessibilityID(\"Alert Controller\");\r\nWebElement from_elem = driver.findElementByAccessibilityID(\"Sliders\");\r\nact.press(from_elem ).moveTo(To_elem).release().perform();\r\n\r\nIn above web elements are same in both code but coordinates code does not work ? It simply taps \r\nI want to know the reason please help me with this ??"},"comment":{"url":"https://api.github.com/repos/appium/java-client/issues/comments/139537406","html_url":"https://github.com/appium/java-client/issues/241#issuecomment-139537406","issue_url":"https://api.github.com/repos/appium/java-client/issues/241","id":139537406,"user":{"login":"amitjaincoer191","id":7996111,"avatar_url":"https://avatars.githubusercontent.com/u/7996111?v=3","gravatar_id":"","url":"https://api.github.com/users/amitjaincoer191","html_url":"https://github.com/amitjaincoer191","followers_url":"https://api.github.com/users/amitjaincoer191/followers","following_url":"https://api.github.com/users/amitjaincoer191/following{/other_user}","gists_url":"https://api.github.com/users/amitjaincoer191/gists{/gist_id}","starred_url":"https://api.github.com/users/amitjaincoer191/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitjaincoer191/subscriptions","organizations_url":"https://api.github.com/users/amitjaincoer191/orgs","repos_url":"https://api.github.com/users/amitjaincoer191/repos","events_url":"https://api.github.com/users/amitjaincoer191/events{/privacy}","received_events_url":"https://api.github.com/users/amitjaincoer191/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T12:46:58Z","updated_at":"2015-09-11T12:46:58Z","body":"@TikhomirovSergey  \r\nAppium Server logs are pasted here http://pastebin.ca/3157703"}}