Tag: Actions
-
Click menu item with mouse hover using WebDriver
Today I needed to select menu item from menu that couldn't be clicked, but had to be hovered to show all items. WebDriver has nice Actions class that easily allows you to do that : public void selectFromDropDownWithHover(String menuTitle, String menuItem, String locatorType) throws Exception { Actions actions = new Actions(manager.…