get_page_source {selenider}R Documentation

Read the HTML of a session

Description

Uses xml2::read_html() to read the page source of the session

Usage

get_page_source(session = NULL, ...)

Arguments

session

Optionally, a selenider_session object.

...

Passed into xml2::read_html()

Value

An XML document.

See Also

Other global actions: back(), current_url(), execute_js_fn(), open_url(), reload(), take_screenshot()

Examples


html <- "
<p>Example text</p>
"

session <- minimal_selenider_session(html)

get_page_source()


[Package selenider version 0.4.0 Index]