Record Hover Actions
Hover actions let you test dynamic interactions such as dropdown menus, tooltips, or elements that only appear when a user hovers over them. With the AI Recorder, these actions can be recorded and included in your test scripts.
Record a Hover Action
Launch the Recorder and go to the page where you want to record hover interactions.
In Recording mode, select the arrow icon in the toolbar to enable Hover Mode. The icon turns blue when active.
Example using https://dribbble.com/Click the element you want to hover over. The Recorder logs this as a hover action.
Hover Mode automatically turns off after one second.Continue recording your scenario.
To create a nested hover (hover within a hover), re-enable Hover Mode and click the next element.Run the scenario to check that hover actions behave as expected.
When finished, Generate code and save your recording.
Best Practice
- Keep scenarios simple to minimize maintenance.
- Validate your test after recording since hover behaviors can vary across browsers.