Hover Node
Browser NodeMove mouse cursor over elements to trigger hover effects
Overview
The Hover node moves the mouse cursor over a specified element, triggering any CSS hover states or JavaScript mouseover events. This is essential for interacting with dropdown menus, tooltips, and other hover-activated UI components.
selectorCSS selector or Playwright locator for the element to hover over
.dropdown-trigger, #menu-button, getByRole('button', { name: 'Menu' })timeoutMaximum time to wait for the element in milliseconds
30000forceForce hover even if element is not visible or actionable
falsemodifiersModifier keys to hold while hovering: Shift, Control, Alt, Meta
ShifttrialOnly perform the actionability checks, without hovering
falseselector_fallbackEnabledEnable automatic fallback to alternative selectors
trueCommon Use Cases
Many navigation menus only appear when you hover over a parent element. Use Hover to reveal these menus before clicking on items inside them.
.nav-item.has-dropdownHover over info icons or buttons to reveal tooltips containing additional information that can be extracted or verified.
[data-tooltip], .info-iconSome e-commerce sites show product previews, quick-view panels, or enlarged images on hover. Use Hover to trigger these before taking screenshots or extracting data.
Usage Examples
Workflow sequence:
- Hover over "Products" menu item
- Wait for dropdown to appear (Wait for Element)
- Click on "Electronics" submenu item
Workflow sequence:
- Hover over the info icon
- Wait for tooltip to appear
- Extract Text from .tooltip-content