elem_name {selenider} | R Documentation |
Get the tag name of an element
Description
Get the tag name (e.g. "p"
for a <p>
tag) of a selenider_element
object.
Usage
elem_name(x, timeout = NULL)
Arguments
x |
A |
timeout |
The time to wait for |
Value
A string.
See Also
Other properties:
elem_attr()
,
elem_css_property()
,
elem_size()
,
elem_text()
Examples
html <- "
<div class='mydiv'></div>
"
session <- minimal_selenider_session(html)
s(".mydiv") |>
elem_name()
[Package selenider version 0.4.0 Index]