Tell us can you write the code to double click an element in Selenium?

Submitted by: Muhammad
Code to double click an element in Selenium:

Actions action = new Actions(driver);
WebElement element=driver.findElement(By.id("elementId"));
action.doubleClick(element).perform();
Submitted by: Muhammad

Read Online Automation Job Interview Questions And Answers