3 ms·
Have you considered Playwright? It offers very straightforward APIs to do exactly this.
by httgp 3y ago
Have you considered Playwright? It offers very straightforward APIs to do exactly this.
- abdusco 3y agoThis 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