Question

How to use mouseDown and mouseOver etc in selenium, with the websites I am working click is working but how to use mouse related commands?

Was it helpful?

Solution

You should use Action Builder

Actions builder = new Actions(driver);
builder.moveToElement(element).build().perform();

(for the Mouse Over) More info here

With Selenium IDE, you need to execute some javascript code. See here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top