![]() ![]() ![]() I've made two files (one super minimal and one with a couple more features in place) to demonstrate Puppeteer and to give you some example code and ideas to start with. The quickstart guide in Puppeteer's readme is actually fantastic so give it a read if you're just starting out, and then you can use this repo to dive a little further into the module, as well as having a starting point TypeScript template. I set up a quick project with Puppeteer and TypeScript to test it, and thought I'd publish it to help anyone else who might hit the same troubles I did making a basic template. Thankfully there exists a module called Puppeteer: which is exactly what I wanted - a super simple node library for Chrome testing. I recently came across a perfect opportunity for automated browser testing at work and thought it would be fun to finally try headless Chrome. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |