MouseMove

Provides functionality to move the mouse cursor to elements or specific positions on a web page.

Classes

MouseMove

Methods

(async) run(selector) → {Promise.<void>}

Moves the mouse cursor to an element using a unified selector string.
Parameters:
NameTypeDescription
selectorstringThe selector string. CSS by default, or use a prefix.
Throws:
Throws an error if the element is not found.
Type
Error
Returns:
Type: 
Promise.<void>