Simulate swipe-to-reveal with selenium-webdriver js

131 views
Skip to first unread message

spd16rb

unread,
Apr 4, 2017, 5:12:27 AM4/4/17
to Selenium Users
Hi there,

I'm new to test automation with selenium-webdriver.  I've been struggling a bit trying to figure out how to simulate a 'swipe-to-reveal' action, something like a swipe-left on a mobile UI, on a web element which, when done manually, exposes an anchor which the user can then click on to perform some other action.  I've taken a brief look at the webdriver TouchActions.flickElement(), but the documentation offers little description of what a 'flick' is, and I haven't found any examples of it in use as yet.

Does anyone have any examples of using selenium js to test swipe-to-reveal or swiping on a specific web element?
Reply all
Reply to author
Forward
0 new messages