Hacker News new | ask | show | jobs
by nostalgk 2528 days ago
I have never heard of TestCafe, but I've used Puppeteer for a variety of projects with Chrome. My latest one was using it to convert HTML files into PDFs en masse.
1 comments

Is there an advantage to that approach over the more direct wkhtmltopdf?
It looks exactly like it would in the latest version of Chrome and is not dependent on Qt's Webkit version.
My experience with wkhtmltopdf a few years ago was that the PDFs that it rendered could look quite different from the PDFs that Chrome or Firefox would render.
This approach, for us, proved fastest when we scaled it using Kubernetes compared to the others we tried.