has_css_property | R Documentation |
Check that the CSS property (e.g. "background-color"
) of an element matches
a value.
has_css_property(x, property, value)
x |
A |
property |
The name of the CSS property |
value |
The value of the attribute. |
A boolean value: TRUE or FALSE.
Other conditions:
has_attr()
,
has_length()
,
has_name()
,
has_text()
,
is_enabled()
,
is_present()
,
is_visible()
html <- "
<div style='display:none;'></div>
"
session <- minimal_selenider_session(html)
has_css_property(s("div"), "display", "none")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.