The future of the Puppeteer framework
Google's Puppeteer framework is quite mature and has been on the market since January 2018 (https://github.com/puppeteer/puppeteer/releases/tag/v1.0.0). As mentioned earlier in this chapter, it is the baseline for the Playwright framework. The fact that this framework has been on the market longer than Playwright and Cypress is not well reflected in its maturity and capabilities. As we've learned in this chapter, there are some very useful and unique capabilities for this CDP-based framework, such as generating traces
, HAR
files, grabbing screenshots, working seamlessly with the DevTools APIs, performing advanced audits of websites through Lighthouse tool integration, working with BDD, integrating with CI tools and third-party frameworks such as CodeceptJS, and more. While these are very great features that allow frontend web application developers to test and debug their websites, this framework lacks some important capabilities that...