Skip to main content

Overview

Move the mouse cursor onto elements or coordinates without a click. Use this to show tooltips, dropdowns, and hover effects.

Element Hover

Put the cursor on a found element.

Syntax

Returns

Promise<void>

Examples

Coordinate Hover

Put the cursor at screen coordinates.

Syntax

Parameters

number
required
X coordinate
number
required
Y coordinate

Returns

Promise<void>

Examples

Best Practices

Prefer element hover over coordinates
Wait after hovering for dynamic content
Verify element was found before hovering

Use Cases

Complete Example