Automation Question: Download Automation 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();
Actions action = new Actions(driver);
WebElement element=driver.findElement(By.id("elementId"));
action.doubleClick(element).perform();
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? |