Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top