News for hackers. Stuff that matters.
Re:Puppeteer Or: How I Learned to Stop Worrying and Love the... by vpedrosa on Thursday April 02, 2020 @06:54PM (#22764713)
Then you met cypress.io
Re:Puppeteer Or: How I Learned to Stop Worrying and Love the... by tracker1 on Thursday April 02, 2020 @07:59PM (#22765115)
Browser automation isn't always strictly for testing... sometimes you need to perform a couple actions, to do a little scraping in order to facilitate an integration between two systems you don't control.

I really like puppeteer because it's generally much faster and more responsive than selenium and other alternatives I've used. Also, it's crazy easy to pass an async function, and it will serialize and run it on the client browser and return the result to you in your automation script.

If you're familiar with JS, it's so much closer to second nature in terms of the types of control you can acheive.

Re:Puppeteer Or: How I Learned to Stop Worrying and Love the... by egfx on Thursday April 02, 2020 @09:28PM (#22765585)
>Browser automation isn't always strictly for testing...

Yes. For example you can automatically create gif animations using puppeteer... see https://gif.com.ai