Check that the CSS property (e.g. "background-color"
) of an element matches
a value.
Arguments
- x
A
selenider_element
object.- property
The name of the CSS property
- value
The value of the attribute.
See also
Other conditions:
has_attr()
,
has_length()
,
has_name()
,
has_text()
,
is_enabled()
,
is_present()
,
is_visible()
Examples
html <- "
<div style='display:none;'></div>
"
session <- minimal_selenider_session(html)
has_css_property(s("div"), "display", "none")