i trying make a code pure JS to move mouse in screen and simulate a click from user.
This not work for me: getElementBy....click(), forms[x].submit(),
etc.
i need a function with pure js and that need: Move Mouse to x,y position in my screen. After that, using mouseEvents, "click" as a user clicking mouse.
I tried some simulate with key press, so KeyNumbers, "enter" with key13,
not work to me also.
Anyone knows a way to do that, without any Lib ? (i found some libs doing that, but nothing with pure JS) i am a backend enginner, so its hard to me "deep dive" in pure JS mode.
If anyone can help me , I will be very grateful.
if anyone can made this function to me
To simulate a click event take a look at MouseEvent
However there is no
MouseEvent
to move the mouse programmatically