I am facing an issue with a double-click control in an application using Angular. I came across an example on the Angular page demonstrating its implementation, but I'm unable to successfully double click on the example control.
You can view the example page here, along with its output.
The button at the bottom implements the control I need to interact with: ng-dblclick= getdetails()
I have attempted executing the JavaScript directly and using XPath actions, but to no avail.
IJavaScriptExecutor js = (IJavaScriptExecutor)driver;
js.ExecuteScript("getdetails()");
new Actions(driver).DoubleClick(driver.FindElement(By.XPath("/html/body/div/input"))).Perform();
Any suggestions on what steps I can take next?
Thank you for your assistance.