How can I simulate touch events?
For testing purposes I need to simulate touch events like touchstart, touchmove and touchend. For mouse events I use something like the following code. Is there something similar for touch events?
const event = document.createEvent('MouseEvent');...