PuppeteerPdfGeneratorScript
constructor(directory: File, out: File, node: NodeJsWrapper, npm: NpmWrapper, noSandbox: Boolean = false)
Parameters
directory
directory containing the index.html
file
out
output PDF file to be written
node
Node.js executable wrapper
npm
NPM executable wrapper
noSandbox
whether to disable Chrome sandbox for PDF export