Failed clicking disabled object

Hi Community,

Greetings!

First time to have encountered “Failed clicking disabled object” error. Can this be disabled in anyway?

Massive thanks,
Dante

no, but you can wrap the click element in an if statement and check for item.SupportInput or if that does not work, something like TryCast(item.RawElement, FlaUI.Core.AutomationElements.AutomationElement).IsEnabled

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.