Just want to move the cursor to the button, but don't want to click, can I?

This is the click code:
document.querySelector("#addTable > tbody > tr:nth-child(9) > td:nth-child(1) > a").click()

But I don't want to click, just move the cursor.

you could use Just Move:



As noted in this stackoverflow.com post, it is not possible to move the mouse using JavaScript.

If the web page button is unique, then using Found Image with the Move Mouse Action, as suggested by @hello, should work.

If you don't want to click, may I ask why you want to just move the mouse?
What will you do next in your workflow?

If you just want to SELECT the button, then that can be done in JavaScript. Then pressing RETURN would press the button.

1 Like