Selenium supports different mouse actions, such as:
- click(WebElement element): You can click on any webelement you want
- contextClick(WebElement element): Similar to click.
- doubleClick(WebElement element): It just give you the utility of double click.
- mouseUp(WebElement element): Scrolling up
- mouseDown(WebElement element): Scrolling down
- mouseMove(WebElement element): Hover mouse over a webelement
- mouseMove(WebElement element, long xOffset, long yOffset): Move mouse in the given offset values.