3 ms·
For what I see, puppeteer is very much like testcafe (able to run with headless/full Firefox, Chrome, Edge ..., but testcafe doesn't need a custom-built Firefox
by dxxvi 7y ago
For what I see, puppeteer is very much like testcafe (able to run with headless/full Firefox, Chrome, Edge ..., but testcafe doesn't need a custom-built Firefox). TestCafe can run javascript code on the page and return the data back, that means it can be used to get data in POST requests. It can take screenshots too. If anybody is familiar with both tools, could you please what this tool can do but the other cannot?
- nostalgk 7y agoI 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.
- mikepurvis 7y agoIs there an advantage to that approach over the more direct wkhtmltopdf?
- royjacobs 7y agoIt looks exactly like it would in the latest version of Chrome and is not dependent on Qt's Webkit version.
- nostalgk 7y agoThis approach, for us, proved fastest when we scaled it using Kubernetes compared to the others we tried.
- jamesgeck0 7y agoMy 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.
- Vinnl 7y agoAs far as I know, Puppeteer actually controls the browser, whereas TestCafe injects things into the page - risking influencing the results of your tests. I've never used TestCafe, so I don't know how justified that worry is.