elements api does not work with xpath
WinAppDriver version: 1.2.1
Link to appium log: https://gist.github.com/Jiurong-Yang/f1484a79aace7dcdb71782dc0eafa9b4
As you can see when using find_element with the xpath value of "//*[@Name='Shortcuts']" the object is found when using find_elements, nothing is returned
In fact find_elements with xpath of "//*" doesn't even return anything either. Pretty sure this is a bug on the driver side. When using find_elements with other locating strategy ("name", "class_name", accessibility_id", etc) there are no issues.
I have the same problem. Did you find any solution in the end?
I have the same problem. Did you find any solution in the end?
Hi, Yeah I think I did find the problem. It depends on if you are using the experimental webdriver in the desired capabilities for me. Turning that off solved this issue for me.