gep_render_har: Render a page in a javascript context and serialize to HAR

Description Usage Arguments Value Note Examples

View source: R/gepetto.R

Description

TODO: Modify the puppeteer-har node module to allow for saving content

Usage

1
gep_render_har(gep, url, width = 1440, height = 5000)

Arguments

gep

a gepetto connection object

url

the URL to fetch and render

width, height

viewport width/height

Value

HAR

Note

content is not returned, just HAR information

Examples

1
2
3
4
5
## Not run: 
gepetto(port=3000) %>%
  gep_render_har("https://r-project.org/")

## End(Not run)

hrbrmstr/decapitated documentation built on Aug. 2, 2019, 8:42 p.m.