Class: css

hobs.actions.assert. css

Checks if DOM Elements have (or not) specific CSS class


new css(selector, cssAttr, cssValue [, isTrue] [, options])

Parameters:
Name Type Argument Default Description
selector String

jQuery selector for the DOM Elements to check

cssAttr String

the css attribute name to check

cssValue String

the value of the css attribute

isTrue boolean <optional>
true

Checks if css attribute is as expected or not

options TestActionOptions <optional>

Test method options