export_formattableWidget {oncrawlR}R Documentation

Transform HTML widget into picture

Description

Transform HTML widget into picture

Usage

export_formattableWidget(w, file, width = 400, background = "white",
  delay = 0.2)

Arguments

w

HTML content to print

file

A vector of names of output files. Should end with .png, .pdf, or .jpeg. If several screenshots have to be taken and only one filename is provided, then the function appends the index number of the screenshot to the file name.

width

Viewport width. This is the width of the browser "window".

background

Background color for web page

delay

Time to wait before taking screenshot, in seconds. Sometimes a longer delay is needed for all assets to display properly.


[Package oncrawlR version 0.2.0 Index]