There are several standard properties that can be used with Element.getAttribute. We should expose these to avoid them getting hardcoded like "HasKeyboardFocus" in tests currently.
Open question: How to get the list of string-typed automation property ids?
There are several standard properties that can be used with
Element.getAttribute
. We should expose these to avoid them getting hardcoded like"HasKeyboardFocus"
in tests currently.Open question: How to get the list of string-typed automation property ids?
https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-automation-element-propids https://learn.microsoft.com/en-us/dotnet/api/system.windows.automation.automationelementidentifiers https://learn.microsoft.com/en-us/dotnet/api/system.windows.automation.automationelement.automationelementinformation