Skip to main content
Same target rules as click, but the pointer stays on the element without clicking. Reach for hover when a menu, tooltip, or toolbar only appears while the pointer rests on a trigger, or when a page loads content on mouseover.

Parameters

Shorthand

Target description as a single string.

Examples

Open a hover-only menu and click an item inside it:
Reveal a tooltip and assert on its text: