-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specifically: DoDefaultAction (UIA_LegacylAccessiblePattern) #51
Comments
When is the error happening? Are you able to provide steps so I could reproduce it? |
Here is my main code. When I use click(), an error message will appear as shown in the image above. If I use highlight(), it can be displayed normally. I have also attached a screenshot of the desired control selected using UIAViewer. I look forward to your response
|
@tallnn The element shown in the UIAViewer screenshot is a Text type element, and usually text cannot be clicked. It is a mistake that the LegacyIAccessible pattern is shown as available (it's a bug, but I don't know how to fix it because UIA itself reports LegacyIAccessible as being available...). If that element is indeed clickable (and not its parent for example) then you could try instead |
thank you very much |
Deer

I have recently encountered a problem that is different from the error reported last time. Could you please help me clarify this
Thank you very much for your selfless help!
The text was updated successfully, but these errors were encountered: