Skip to main content

You are here

Hover and Click

Hover the mouse on a menu and click on a resulting dropdown menu option

This piece of code allows you find and click on a drop down menu resulting from hovering the mouse over a main menu option. The issue with a menu resulting from hovering the mouse is that the sub menu elements are not available for selection until the drop down menu appears. As long as focus remains on the menu, one can choose from the drop down.

In the program below, I have used the Actions class to initiate mouse movement. The steps taken are:

Premium Drupal Themes by Adaptivethemes