Similar to render_png() but used in a script context. Should be the LAST element in a DSL script chain as this will execute the script and return the PNG content

splash_png(splash_obj)

Arguments

splash_obj

splashr object

Value

a magick image object

See also

Examples

# NOT RUN {
splash_local %>%
  splash_user_agent(ua_macos_chrome) %>%
  splash_go("https://rud.is/b") %>%
  splash_wait(2) %>%
  splash_png()
# }