
Check Computed Style
Test visual state driven by CSS
Check Computed Style compares a CSS property on an element, such as Color, Display or Visibility, with the value you expect. Use it when state shows through styles rather than text or attributes.
Use it where styling carries meaning:
Red borders on fields after validation fails
Panels hidden with display none
Active and selected states in navigation
Brand colours on key buttons
Check Computed Style pairs with Check Attribute when the state lives in an HTML attribute, and Check Displayed to confirm an element is shown. Use Element Snapshot to compare the whole look of an element.
