The suggested use-case for this is rendering a widget
render_file(splash_obj = splash_local, file_path, output = c("html", "png"),
wait = 0, viewport = "1024x768", ...)
Object created by a call to splash()
Absolute path to a filename on the local host. This only works with a locally running Splash instance started with start_splash.
either html
or png
to get the page content or an image capture
seconds to wait
View width and height (in pixels) of the browser viewport to render the web page. Format is "<width>x<height>
". e.g. 800x600. Default value is 1024x768.
other params to render_html()
or render_png()
An XML document or magick
object
TODO Test if container is running TODO Enable passing in of an htmlwidget and use saveWidget
Other splash_renderers: execute_lua
,
render_har
, render_html
,
render_jpeg
, render_json
,
render_png