generate_screenshot.Rd
Generate a webpage screenshot
generate_screenshot( url, quality = 100L, full_page = FALSE, mobile = FALSE, width = NULL, type = c("jpeg", "png", "webp"), ... )
url | the URL to screenshot |
---|---|
quality | image quality. Defaults to 100 (i.e. 100%) |
full_page | generate a full page scren shot (may be very "long"). Default |
mobile | generate a screenshot of a mobile version of the website? Default |
width | screen width (pixels). Defaults to |
type | which image format to request. This function returns a |
... | passed on to |
{magick}
object
# NOT RUN { generate_screenshot("https://cran.r-project.org") # }