Automation Question:
Download Questions PDF

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

Answer:

Code to double click an element in Selenium:

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

Download Automation Interview Questions And Answers PDF

Previous QuestionNext Question
Tell us how to perform right click using Selenium WebDriver?Tell me how you can find broken images in a page using Selenium Web driver?