'How to draw a signature in canvas by touch

Hi try to draw a signature on a canvas. This works with mouse

var action = new Actions(Hooks.Driver);
                action.KeyDown(Keys.Control)
                    .DragAndDropToOffset(signatureCanvas,x,y)
                    .Build()
                    .Perform();

But i need this funktion with touch. I tried it with TouchAction but it didn't work. Any ideas how can I draw a signature with selenium with a touch system?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source