top | item 38233375

(no title)

httgp | 2 years ago

Have you considered Playwright? It offers very straightforward APIs to do exactly this.

discuss

order

abdusco|2 years ago

This is the way. Firefox may not have a CLI arg for saving PDFs, but they expose it through DevTools API and it can be automated with Playwright, Selenium (or plain http requests) etc