Automation Question: Download Automation PDF

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

Tweet Share WhatsApp

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 PDF Read All 108 Automation Questions
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?