The double click action using Selenium on a webPage is not working.
DoubleClick action :
@Action(id="double_click_on_web_component", action = "Double click on " + WEB_COMPONENT, description = "")
public ITestResult doubleClickOn(IWebAutoElement element) throws Exception {
if(element.getWebElement() != null){
Actions action = new Actions(driver.getWebDriver());
action.doubleClick(element.getWebElement()).perform();
return new SuccessResult();
}
return new FailureResult("Selector not found: " + element.getDescriptor().getLocator());
}
The double click action using Selenium on a webPage is not working. DoubleClick action : @Action(id="double_click_on_web_component", action = "Double click on " + WEB_COMPONENT, description = "") public ITestResult doubleClickOn(IWebAutoElement element) throws Exception {
if(element.getWebElement() != null){
Actions action = new Actions(driver.getWebDriver());
action.doubleClick(element.getWebElement()).perform();
return new SuccessResult();
}
return new FailureResult("Selector not found: " + element.getDescriptor().getLocator());
}