Checks that the element has all of the CSS styling provided
Checks that the element has all of the CSS styling provided.
Verify CSS Value also supports a map of CSS styling values to check for. It will pass only if all of the provided styles are found.
For example
Finally also note that for color style testing you will need to use the RGB values e.g. rgb(51, 51, 51)