Appium version:1.3.3
Android device version - 4.0 +
System - MAC
I am testing a scenario where my page opens in webview where I have to swipe from right to left. But after the page opens in webview I am not able to swipe and I am getting exception
appium server logs
Making http request with opts: {“url”:“http://localhost:8080/wd/hub/session/53107599-7470-d255-0c4b-a4edae38cb09/touch/perform",“method”:“POST”,“json”:{“actions”:[{“action”:“press”,“options”:{“element”:":wdc:1417057375502"}},{“action”:“moveTo”,“options”:{“element”:":wdc:1417057375503"}},{“action”:“release”,"options”:{}}]}}
info: [debug] Proxied response received with status 404: undefined
info: <-- POST /wd/hub/session/53107599-7470-d255-0c4b-a4edae38cb09/touch/perform 404 8.167 ms - -
Here is my code where I am trying to swipe
WebElement slider = driver.findElement(By.id("Element_6df0360d")); // finds element where slider is their
WebElement div = slider.findElement(By.tagName("img")); //find element of the center till where i have to slide
TouchAction slide = new TouchAction(driver); // java-client 2.1.0
//slide.longPress(slider).moveTo(div).release();
slide.press(slider).moveTo(div).release();
slide.perform();
Test exception logs
org.openqa.selenium.UnsupportedCommandException: Build info: version: ‘2.44.0’, revision: ‘76d78cf323ce037c5f92db6c1bba601c2ac43ad8’, time: ‘2014-10-23 13:11:40’