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?

Était-ce utile?

La 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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top