Summary
In this chapter, we covered the fundamentals of the Puppeteer framework and learned how to get started and run a JavaScript Puppeteer test. We reviewed Puppeteer's core capabilities; both the basic ones as well as the advanced ones, such as API testing, network mocking, BDD, accessibility, DevTools, CI integrations, working with elements, emulating mobile platforms, and more.
We then concluded the chapter by looking into the future of Puppeteer, while covering the framework's currently missing, and very much needed, features, along with emerging opportunities, such as the codeless solution, complementing web testing with support for PWA and Flutter within Puppeteer, reporting, and more.
With the core skills that were introduced in this chapter, you can now get started with your own Puppeteer project in JavaScript, create web application assertions, including monitoring network traces, run Lighthouse audits, create performance testing from your own workstation...