📅  最后修改于: 2022-03-11 14:52:09.353000             🧑  作者: Mango
driver.get("URL of target website or webpage"); // Define the URL of the target website.
Actions act = new Actions(driver);
//Double click on element
WebElement ele = driver.findElement(By.xpath("XPath of the element"));
act.doubleClick(ele).perform();