Hover over an element in a web test

Move the mouse over an element, without clicking, to reveal menus, tooltips, and other hover effects.

Use it for anything that only shows up under the mouse: a dropdown menu that opens on hover, a tooltip, a button that changes its look. Then pick an entry in the menu with a Click step, or check that the tooltip appeared with Verify element.

Parameters

ParameterRequiredDescription
Target elementYes, unless a manual selector is setNatural-language description of the element. The AI uses it to find the element.
Manual selectorNoXPath or CSS selector, used when AI is disabled or as the saved selector.
AI usageNoinherit (default, follows the test strategy), smart, or always.
Enable AINoWhen off, only the manual selector is used. Default: on.
Ignore error on this stepNoThe run continues with the next step if this one fails. Default: off.

Results and metrics

  • Timing: start, end, and duration (in seconds) recorded in the step result.
  • Status: success, warning, or failed, with the error message on failure.
  • Screenshot: captured while the hover state is active, showing what it revealed.
  • AI usage: if the AI located the element, the healed selector is saved on the test and the AI cost is added to the run.

What's next?

Click

Click the menu entry the hover revealed

Verify element

Check that the tooltip or menu actually appeared

Last updated on