13. Mouse Actions with the Actions Class

The Actions Class

Actions actions = new Actions(driver);
actions.moveToElement(menu).click(subOption).perform();

Task

  • Chain `moveToElement(menu)`, `click(option)`, and call `.perform()`.
💡Common doubts
Did you like the problem?
Lesson 13 of 18
Java
Loading code editor…
Next