mouseMove
Moves the mouse to the center of the element WITHOUT clicking.
This method dispatches only a mouseMoved event to trigger hover/mouseover effects. The mouse position changes but no click occurs.
When to use:
Triggering hover effects (tooltips, dropdown menus on hover, etc.)
Simulating mouse movement without interaction
Testing mouseover/mouseenter event handlers
When NOT to use:
If you need to click the element, use click or mouseClick instead
The position is retrieved atomically to prevent race conditions where the element could be detached or moved between getting position and dispatching events.
See also
For JavaScript-based clicking (recommended for most cases)
For native CDP mouse click with full event sequence