Getting text color in appium

Is there any method to get text color in appium (lets say android apps). And also I want to assert that the text color is red/blue/green in color. I use ruby to write the scripts.

1 Like

It is not possible for native apps as the source code does not have css attributes.

Is still not possible?

hedgic, As far as I understand it’s not possible since there is no attribute that returns color of a text or button for example. You can only get details of a UI object for the attributes depicted below.Screenshot_3