Automation Question: Download Questions PDF
Tell us can you write the code to double click an element in Selenium?
![Automation Interview Answer Automation Interview Question](https://globalguideline.com/public/images/interview/27.png)
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();
Actions action = new Actions(driver);
WebElement element=driver.findElement(By.id("elementId"));
action.doubleClick(element).perform();
Download Automation Interview Questions And Answers
PDF
Previous Question | Next 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? |