Y
Hacker News
new
|
ask
|
show
|
jobs
by
httgp
950 days ago
Have you considered Playwright? It offers very straightforward APIs to do exactly this.
1 comments
abdusco
950 days 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
link