Reputation: 310
I am using the Accessibility Insights for Windows tool as a method to determine the most effective selector when using Power Automate Desktop. I have a Pulse VPN app that I can launch but cannot click the Connect button. I can use the UI automation recorder to click the button but after a reboot, the selector no longer works. While I understand web and jQuery selectors, I don't know how to write UI element selectors. Any insight is appreciated.
Upvotes: 0
Views: 879
Reputation: 96
Unfortunately, there's no generally accepted Windows analog to selectors. WinAppDriver includes a concept called xPath that attempts to solve this problem, but it's tightly bound to a specific version and language of an app, and only a few platforms (mainly WinAppDriver) use it.
Accessibility Insights support for xPath was requested in this issue. We triaged it and decided that we'd leave that for a community contribution. Nobody ever picked it up and it was eventually closed after someone observed that WinAppDriver was no longer in active development.
Sorry I don't have a better answer for you.
Dave Tryon, Accessibility Insights team
Upvotes: 1