Checks that the element has all of the CSS styling provided
Checks that the element has all of the CSS styling provided.
[MADCOW:htmlElement].verifyCssValue = <<[The css values expected]>>country.verifyCssValue = "display: block;"
country.verifyCssValue = "display:inline; font-weight:700;"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
country.verifyCssValue = ["display":"inline", "font-weight": "700"]Finally also note that for color style testing you will need to use the RGB values e.g. rgb(51, 51, 51)