ChromiumPdfGeneratorScript

constructor(sourcesDirectory: File, out: File, browser: ChromiumWrapper, noSandbox: Boolean = false)

Parameters

sourcesDirectory

directory containing the index.html file

out

output PDF file to be written

browser

browser executable wrapper

noSandbox

whether to disable the Chromium sandbox for PDF export