Relative Content

Tag Archive for c#savepuppeteer.net-6.0pdfsharp

Puppeteer / PdfReader only saving the first page, not the entire document. Using C#, .net 6

I need to create a console app that pulls url’s from a SQL database and stores them as PDFs on the server. I first need to login and then retrieve the urls. If you open a url directly it looks like you are viewing a pdf (shows the page numbers). When I set headless to false, I can see the entire document, however, it only saves the first page. What am I missing? Here is my code snippet: