Relative Content

Tag Archive for javascriptasynchronoussalesforcepuppeteerlwc

Puppeteer PDF generation race condition with front-end event dispatch

I’m working on a web application that generates PDFs using Puppeteer on the back-end, based on content rendered by a front-end Lightning Web Component (LWC). I’m encountering a timing issue where Puppeteer might be trying to generate the PDF before the front-end has finished rendering.