What are the different mouse actions that can be performed using Selenium?

What are the different mouse actions that can be performed using Selenium?

Hello Rhian-lewis,

The different mouse events supported in Selenium are-

  • click(WebElement element)

  • doubleClick(WebElement element)

  • contextClick(WebElement element)

  • mouseDown(WebElement element)

  • mouseUp(WebElement element)

  • mouseMove(WebElement element)

  • mouseMove(WebElement element, long xOffset, long yOffset)