open_interactive_html_obj: Opens the HTML source (already retrieved via read_html() or...

Description Usage Value Examples

Description

Opens the HTML source (already retrieved via read_html() or read_html_selenium() in Chrome or specified application. A critical difference between a function like this and one like read_html() is that this one reads the page HTML -after- the page has finished loading, including running of execution of javascript.

Usage

1

Value

Character vector of length 1, which is subsequently opened with the specified application

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

# Open output of read_html() or read_html_selenium() in Chrome
page_html <- read_html_selenium("https://cran.r-project.org/web/packages/available_packages_by_name.html")
open_interactive_html_obj(page_html)

# Open in another application (e.g. Sublime Text)
open_interactive_html_obj(page_html, "Sublime Text")

## End(Not run)

stevecondylios/RSeleniumHelpers documentation built on Dec. 31, 2020, 7:34 a.m.