Html – Puppeteer Save PDF to absolute path
I am attempting to convert a HTML file to PDF using Puppeteer and I want to save the converted PDF file absolutely to the root. (I am using MacOS btw). export const HTML_PATH = path.resolve( "/Users/me/dev/script/src/template/index.html", ); This is the…