I only used Puppeteer in the past, but I found it very similar to how Playwright works. I used it to scrape the data about power interruptions from our local power plant website and send email using Node since they don't provide any notification method. I then run the script using Windows task runner which runs a simple batch file on my local machine once a day :)
You're welcome. Yes, that's what's so fun about these automation features, tying this together with Express or your own sessions / tokens, you could bring screenshot / scraping / testing features to end-users as well.
Thanks! Do you mean like unit testing? Or do you mean why didn't I include the screenshot and scraping features within the test / assertion / report area?
As always, a great project based tutorial! By the end of it you will have autogenerated screenshots and scraped data very simple to understand!
I only used Puppeteer in the past, but I found it very similar to how Playwright works. I used it to scrape the data about power interruptions from our local power plant website and send email using Node since they don't provide any notification method. I then run the script using Windows task runner which runs a simple batch file on my local machine once a day :)
You have great presentation style. 👍
Thank you! 🙏
Awesome tutorial, ty
Thanks for the quick tips on Playwright! I guess this can run behind an express server so that users can send certain queries...
You're welcome. Yes, that's what's so fun about these automation features, tying this together with Express or your own sessions / tokens, you could bring screenshot / scraping / testing features to end-users as well.
hi master! do you know how to deploy this in vercel or netlify ?
Hreat!
But why not to use a test function?
Thanks! Do you mean like unit testing? Or do you mean why didn't I include the screenshot and scraping features within the test / assertion / report area?
@@LearnWebCode
No. Basically I meant why you didn’t use the test() fixture function instead of just a simple function?
You are missing a favicon for your website