View source: R/global_actions.R
get_page_source | R Documentation |
Uses xml2::read_html()
to read the page source of the session
get_page_source(session = NULL, ...)
session |
Optionally, a |
... |
Passed into |
An XML document.
Other global actions:
back()
,
current_url()
,
execute_js_fn()
,
open_url()
,
reload()
,
scroll_to()
,
take_screenshot()
html <- "
<p>Example text</p>
"
session <- minimal_selenider_session(html)
get_page_source()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.