Interview Questions

Selenium WebDriver - How to double click on element using selenium 2.0?

Selenium WebDriver Interview question and Answers


(Continued from previous question...)

Selenium WebDriver - How to double click on element using selenium 2.0?

WebElement el = driver.findElement(By.id("ElementID"));
Actions builder = new Actions(driver);
builder.doubleClick(el).build().perform();

(Continued on next question...)

Other Interview Questions