3 ms·
I just tried puppeteer yesterday for the first time. It seems to work very well. My only complaint is that it is very new and does now have a plethora of exam
by tmaly 9y ago
I just tried puppeteer yesterday for the first time. It seems to work very well. My only complaint is that it is very new and does now have a plethora of examples.
I previously have used WWW::Mechanize in the Perl world, but single page applications with Javascript really require something with a browser engine.
- kjullien 9y agoDon't use puppeteer unless its to fiddle 10 minutes with it. Tried to use it for front-end tests on our stack at work and spent more time debugging 1. puppeteer 2. chrome headless (yes, not even the lib itself) than doing any work on the project, for instance chrome in headless will sometimes randomly exit for no reason making the lib crash, has been this way since the lib came out and its still not fixed.... This is just the first example and yet a single problem and I already can't work with the lib... Not going to get into font rendering, random multiple tabs crashes, and other stupid issues that are a result of bad integration.