> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spurtest.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Hover

> Simulate mouse hover interactions for dropdown menus, tooltips, and other interactive elements.

## Overview

The hover action moves the mouse cursor over a specific element on the page. This is essential for interacting with dropdown menus, tooltips, nested navigation, and scrollable containers.

## Basic Usage

Move the cursor over any element by describing it in natural language.

<Frame caption="Hovering over an element">
  <img src="https://mintcdn.com/spur/nNuvmyM4s84IFvTw/images/Hover/hover_ex_1.png?fit=max&auto=format&n=nNuvmyM4s84IFvTw&q=85&s=51d9b490a95862d016f34ebc7822a1b7" alt="" width="1046" height="128" data-path="images/Hover/hover_ex_1.png" />
</Frame>

## Common Hover Combinations

Hover actions frequently work in combination with other actions.

### Hover then Scroll

Use hover to position the cursor over a scrollable container before scrolling within it.

<Frame caption="Hover on a scrollable container, then scroll">
  <img src="https://mintcdn.com/spur/nNuvmyM4s84IFvTw/images/Hover/hover_ex_2.png?fit=max&auto=format&n=nNuvmyM4s84IFvTw&q=85&s=aeded4e4bc087e5e848d2f4f2e2948c4" alt="" width="1044" height="250" data-path="images/Hover/hover_ex_2.png" />
</Frame>

<Note>
  Keep the cursor over the container while scrolling. Use specific pixel values for scroll amounts and add Wait actions if needed for smooth interactions.
</Note>

### Hover for Dropdown Menus

Hover over a dropdown trigger to reveal its contents, then interact with the revealed options.

<Frame caption="Hovering over a dropdown menu">
  <img src="https://mintcdn.com/spur/nNuvmyM4s84IFvTw/images/Hover/hover_ex_3.png?fit=max&auto=format&n=nNuvmyM4s84IFvTw&q=85&s=5066bb0b7a4bc9a8580060341b4956dd" alt="" width="1038" height="236" data-path="images/Hover/hover_ex_3.png" />
</Frame>

### Hover for Nested Menus

Hover over a parent menu item, wait for the submenu to appear, then hover over the submenu items.

<Frame caption="Navigating nested menus with hover">
  <img src="https://mintcdn.com/spur/nNuvmyM4s84IFvTw/images/Hover/hover_ex_4.png?fit=max&auto=format&n=nNuvmyM4s84IFvTw&q=85&s=557dc0ea4cadc7b1e3bf64d43303a343" alt="" width="1042" height="358" data-path="images/Hover/hover_ex_4.png" />
</Frame>
