I am trying to get a button's status to see if it is highlighted or not, but I cannot find such method in iOS UIAutomation
, can anyone help?
I tried button().value()
, but it return 1 if it is last accessed, and return null if it is not.
UIAutomation exposes only a limited set of properties as described in their reference
Out of the box, you can check stuff like isEnabled, isVisible, etc
You can check this SO post for tweaking stuff How to check element properties in iOS gui automation?