L21.1: Actions class Example #2

PHOTO EMBED

Thu Oct 19 2023 02:10:10 GMT+0000 (Coordinated Universal Time)

Saved by @testpro #java

Actions a = new Actions(driver);

//Double click on element
WebElement button = driver.findElement(By.xpath("locator"));

a.doubleClick(button).perform();
content_copyCOPY