has_name | R Documentation |
Check that an element has a specified tag name
has_name(x, name)
x |
A |
name |
A string. |
A boolean value.
Other conditions:
has_attr()
,
has_css_property()
,
has_length()
,
has_text()
,
is_enabled()
,
is_present()
,
is_visible()
html <- "
<div id='mydiv'></div>
"
session <- minimal_selenider_session(html)
has_name(s("#mydiv"), "p")
has_name(s("#mydiv"), "div")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.