open_interactive_url: Retrieves HTML for given URL and opens the source in Chrome...

Description Usage Value Examples

Description

Retrieves HTML for given URL and opens the source 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
open_interactive_url(link, application)

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 HTML in Chrome
open_interactive_url("https://cran.r-project.org/web/packages/available_packages_by_name.html")

# Open in another application (e.g. Sublime Text)
open_interactive_url("https://cran.r-project.org/web/packages/available_packages_by_name.html",
"Sublime Text")

## End(Not run)

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