Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java webelement how to double click

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();
Source by www.browserstack.com #
 
PREVIOUS NEXT
Tagged: #java #webelement #double #click
ADD COMMENT
Topic
Name
6+1 =