Skip to main content

Hover over element on web page

Sophie avatar
Written by Sophie
Updated over 2 weeks ago

Definition and Usage

This command hovers the mouse over a specified element on a web page. It's useful for triggering hover-based events such as displaying dropdown menus, tooltips, or other interactive elements that respond to mouse hover actions.


Parameter Values

Input parameters

Parameter

Description

Possible Values

Required

Options / Notes

Web page

Select a variable that contains the web page to work with

Web page variable

Yes

Must be a previously initialized web page

Element

Select or capture an element to operate on

UI element

Yes

Use the Capture button to select the element visually

Advanced settings

Parameter

Description

Possible Values

Required

Options / Notes

Simulate human mouse hover

If enabled, hover is simulated via human mouse movement instead of using API

True/False

No

Default: Enabled

Wait after execution (s)

Wait for a specified number of seconds after the action is executed

Number

No

Default: 1 second

Element timeout (s)

Wait time for element to appear (seconds)

Number

No

Default: 20 seconds

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app.

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process.

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption.

Variables produced

This action doesn't produce any variables.


Using Variables in Conditions

Fields marked with {x} icon can accept variables. You can insert variables created earlier in your workflow by clicking on the field and selecting from the available variables. This is particularly useful when you need to dynamically determine which web page to interact with or set wait times based on conditional logic.


Notes

  • The element must be visible on the page for the hover action to work properly.

  • When "Simulate human mouse hover" is enabled, the mouse movement will appear more natural but may take slightly longer to complete.

  • If the element is not found within the specified timeout period, the action will fail according to the selected error handling option.

  • This action is commonly used before clicking on elements that require hover interaction, such as dropdown menu items.

  • For some web applications, hovering over elements may trigger AJAX calls or load additional content dynamically.

Did this answer your question?