Windows10 swipe: touchAction.Perform() using simple MoveTo() produces "UnsupportedCommandException: actions"
See original GitHub issueI have a problem with swipe functionality on windows10.
new TouchAction(appiumDriver).press(point(15, 15)).waitAction(waitOptions(ofSeconds(1)))
.moveTo(point(200, 200)).release().perform();
produces an error:
org.openqa.selenium.UnsupportedCommandException: actions
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'mbp-dlishchuk', ip: 'fe80:0:0:0:14fd:f0c1:be42:808e%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.5', java.version: '11.0.6'
Driver info: driver.version: RemoteWebDriver
I’ve tried 4 different implementations - none of them worked for me (you can take a look at attachments), but 3 of them works fine on android. Tried different PC’s, appium versions, applications, nothing helps.
Environment: Appium version v1.18.0-beta.1 Windows 10 Pro v2004 Java 11.0.6
Different implementations of swipe and errors attached in 4 screenshots screenshot1_PointerInput screenshot2_JavaScriptExecutor screenshot3_TouchAction screenshot4_MultiTouchAction
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:5
Top Results From Across the Web
How to fix "UnsupportedCommandException: actions" error ...
If you want to scroll on android app you can use touch action class. Below code will scroll down. ... moveTo(x, endY).release().perform(); }....
Read more >How to perform swipe action on WINDOWS? · Issue #558
It seems the TouchAction can't perform real action on Windows10 platform. ... moveTo(endX, endY).release().perform();.
Read more >How to Use Touch Actions in Appium: Swipe Tap Touch
Hi all, in this article, I will answer this question and share with you the details of how to do some appium mobile...
Read more >How to use touch actions in Appium?
Learn what are different touch actions in Appium like Tap, Swipe, Long Press, Swipe with Touch Actions, multiple touch actions, along with ......
Read more >Read more - GitHub
When I try run test in real iOS device I'm getting error:selenium.common.exceptions. ... getCookies() don't show JSESSION ? aniket-21: I do Driver.manage().
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks critical because it’s impossible to do swipe programmatically on UWP. Guys, can you take a look onto this issue?
Faced with the same issue