TestProject Forum
Powered by leading experts in the test automation community

Selenium double click on element

How can I initiate a mouse double-click on an element ?

I have a treeview in my app, and I need to do a double-click to open a folder.


How can I do this with WebDriver ?

The actions class has methods to help you with that:

[code]Actions action = new Actions(driver);
WebElement ele = driver.findElement(By…);