| has_css_property {selenider} | R Documentation |
Does an element's css property match a value?
Description
Check that the CSS property (e.g. "background-color") of an element matches
a value.
Usage
has_css_property(x, property, value)
Arguments
x |
A |
property |
The name of the CSS property |
value |
The value of the attribute. |
Value
A boolean value: TRUE or FALSE.
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")
[Package selenider version 0.4.0 Index]