With the new element finding approach for a given point it happens pretty often that the returned element is not the one I was targetting. It seems to happen a lot more frequently than with the previous approach. We should see if we can come up with a better heuristic.
This is in part due to .NET UIA APIs not discovering all UI elements. Using COM APIs provides more accurate results. I created uia-winrt to wrap the COM UIA APIs and use them from C#.
With the new element finding approach for a given point it happens pretty often that the returned element is not the one I was targetting. It seems to happen a lot more frequently than with the previous approach. We should see if we can come up with a better heuristic.