Read a CSS property of an element
Automation taskEasy-MediumAsked in: Accenture, Infosys
"How do you verify that an element's colour or visibility changes?" Read the computed CSS value, the final style after all rules apply (CSS is the language that styles a page). Colours come back in rgba(...) form in Chrome, so compare them in that form or convert them first. Here you read the visibility property of a visible element and of a hidden one.