Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
httgp
· 3y ago · 0 comments
Have you considered Playwright? It offers very straightforward APIs to do exactly this.
Comments
[–]
abdusco
3y 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