Touch Events
Dispatch touch events on a page element using TouchEvents:: commands.
On this page
Action
| Element Finder | Value |
|---|---|
| TouchEvents:: | Description |
|---|---|
TouchEvents::touchstart | Dispatch a touchstart event on the element. |
TouchEvents::touchend | Dispatch a touchend event on the element. |
TouchEvents::touchmove | Dispatch a touchmove event on the element. |
TouchEvents::touchcancel | Dispatch a touchcancel event on the element. |
TouchEvents::["touchstart","touchend"] | Dispatch a sequence of touch events. |
You can pass a single event name or a JSON array of event names to fire a sequence in order.