Mouse Hover
Moves the mouse pointer to a specified location
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
if ContinueOnError property is true, no error is caught when the project is executed even if Catch node is used.
Input
- X Coordinate - The X coordinate of the location to move the mouse pointer.
- Y Coordinate - The Y coordinate of the location to move the mouse pointer.
Options
- Smooth - Selects whether to move the pointer smoothly. When enabled, the mouse will animate from the current position to the target position. When disabled, the mouse jumps instantly.
How It Works
The Mouse Hover node moves the mouse pointer to a specified location on the screen without clicking. The execution follows these steps:
- Delay Before - Waits for the specified delay before execution (if configured)
- Coordinate Retrieval - Retrieves the X and Y coordinates from input variables
- Mouse Movement - Moves the mouse cursor to the target coordinates:
- If "Smooth" is enabled: Animates the cursor movement from current position to target
- If "Smooth" is disabled: Instantly jumps the cursor to the target position
- Delay After - Waits for the specified delay after execution (if configured)
This node is useful for triggering hover effects, positioning the cursor before other actions, or revealing tooltips.
Requirements
- Robomotion Deskbot - This node only works with Robomotion Deskbot (desktop automation)
- Screen Coordinates - Valid screen coordinates within your display resolution
- Operating System Support - Compatible with Windows, macOS, and Linux
- Permissions - May require accessibility permissions on macOS and some Linux distributions
Error Handling
| Error Code | Description | Common Cause |
|---|---|---|
Core.Mouse.Hover.ErrOnCreate | Configuration parse error | Invalid node configuration or corrupted flow |
Core.Mouse.Hover.ErrOnMessage | Message parse error | Invalid input message format |
Usage Examples
Example 1: Trigger Tooltip
Hover over an element to display its tooltip:
X Coordinate: 500
Y Coordinate: 300
Smooth: true
The smooth movement makes the hover appear more natural and allows tooltips to trigger properly.
Example 2: Reveal Dropdown Menu
Hover over a menu item to reveal a dropdown submenu:
X Coordinate: 150
Y Coordinate: 80
Smooth: false
Instant positioning (no smooth) for quick menu navigation.
Example 3: Position Before Click
Position the mouse before performing a click action:
X Coordinate: {{buttonX}}
Y Coordinate: {{buttonY}}
Smooth: true
Use variables for dynamic positioning and smooth movement for realistic automation.
Example 4: Trigger Hover Effects
Hover to reveal hidden UI elements or change element states:
X Coordinate: 720
Y Coordinate: 450
Smooth: true
Many modern web applications show additional options or information on hover.
Usage Notes
- No Click - This node only moves the cursor; it does not perform any click action
- Smooth vs. Instant - Smooth movement is more realistic and better for triggering hover effects, but instant is faster
- Coordinate System - Screen coordinates start at (0,0) in the top-left corner
- Hover Timing - Use "Delay After" to give hover effects time to appear before the next action
- Multi-Monitor - Coordinates are absolute and work across multi-monitor setups
- No Validation - The node does not validate if coordinates are within screen bounds
Tips
- Use Smooth for UI Effects - Enable smooth movement when you need to trigger hover-based UI effects
- Use Instant for Speed - Disable smooth for faster execution when hover effects aren't needed
- Add Delays - Use "Delay After" to wait for tooltips, dropdowns, or other hover effects to fully appear
- Combine with Wait - Follow with a wait or delay node if the hovered element takes time to load
- Variable Coordinates - Store coordinates in variables for reusable and maintainable automation
- Test Positions - Use screen capture tools to identify exact hover coordinates
- Before Clicks - Use this node before Mouse Click to ensure the cursor is in position
- Hover Menus - For multi-level hover menus, chain multiple hover nodes with appropriate delays
Related Nodes
- Mouse Click - For clicking after positioning the mouse
- Mouse Drag - For dragging from the current position
- Mouse Scroll - For scrolling the mouse wheel