In puppeteer, I am trying to download the invoice. when I click on download button, it opens the print preview dialogue. Is there a way to save the pdf from print preview window?
The content inside print preview is not same as page that rendered, if that is the case i would use puppeteer page to pdf. but content is generated on fly and goes to print preview.
Please help me to download the pdf