In my application I have a scenario where i need to double click on an element to open a feature. But double click option is not available in Winappdriver. Please enhance winappdriver with double click option .
We have double click option in Selenium Webdriver. Need a similar option in Winappdriver also
Thanks
Hi @viji-123,
Windows Application Driver supports mouse double click as specified in the JSON Wire Protocol. Unfortunately we don't have a sample or test for it yet. If you are writing your test in C# using Appium .NET driver, you can use the following sample code snippet to perform mouse double click on an element:
var title = calculatorSession.FindElementByAccessibilityId("AppNameTitle");
calculatorSession.Mouse.MouseMove(title.Coordinates);
calculatorSession.Mouse.DoubleClick(null);
@timotiusmargo
Thanks for letting me know. I will try to implement that !
There is no coordinates for widows element.
var title = calculatorSession.FindElementByAccessibilityId("AppNameTitle");
can you please let me know,how to achieve this
please post new questions as new issues, thanks.
Most helpful comment
Hi @viji-123,
Windows Application Driver supports mouse double click as specified in the JSON Wire Protocol. Unfortunately we don't have a sample or test for it yet. If you are writing your test in C# using Appium .NET driver, you can use the following sample code snippet to perform mouse double click on an element: