I have a C# app that uses Puppeteer-Sharp to convert HTML pages to PDF. Everything works great except for one issue. I have a fieldset within which a JavaScript file is used to move checkboxes from the right of the question to the left. When I view the original HTML, the checkboxes have been moved, but in the PDF they are still on the right side. I would like to find out what is going wrong, but I don't know how to get Puppeteer-Sharp to output any error information.
I found this question/answer, which sounds like it is the solution, but I'm not sure what the person actually did or how to make use of it. How do I get readable browser/page errors out of puppeteer-sharp?
(Note: I can't modify Puppeteer-Sharp itself for this project - I need to use the supported version.)
Via Active questions tagged javascript - Stack Overflow https://ift.tt/HbsLtw9
Comments
Post a Comment