How to simulate a mouse click and drag using javascript with XY Coords

Viewed 16

How to simulate a mouse click and drag using javascript with XY Coords

I know how to click using XY coords

document.elementFromPoint(100, 100).click(); - for example

this works perfectly

but I need something that can drag my mouse between two XY coords

Hope this makes sense

0 Answers
Related