Open Ma2ter opened 5 years ago
Can you try the W3C action API instead of the old TouchAction API?
W3C actions works fine, thank you!
Also, I solved the problem with following code:
new TouchAction(driver).longPress(PointOption.point(startX, startY))
.moveTo(PointOption.point(endX, endY))
.release().perform();
W3C actions works fine, thank you!
Also, I solved the problem with following code:
new TouchAction(driver).longPress(PointOption.point(startX, startY)) .moveTo(PointOption.point(endX, endY)) .release().perform();
yes, change the press
to longPress
fixed the issue. @jlipps Can you update the appium-desktop, it is still generating the old code.
Appium version: 1.11.0-beta.0 (same with appium 1.9.1 and 1.10) Following code doesn't work:
if start point hits on the layout element (android.widget.LinearLayout, android.widget.RelativeLayout) . However, if startPoint hits empty space on the screen, scroll is successful.
It completes successfully, but nothing changes on the screen.
Same happening when trying perform "Swipe by coordinates" in appium-desktop.
Capabilities: