Learning about Puppeteer's advanced test automation capabilities
Following Chapter 11, Working with the Playwright Framework, we will cover the advanced capabilities of Google Puppeteer.
Note that measuring code coverage (https://pptr.dev/#?product=Puppeteer&version=v13.1.0&show=api-class-coverage) is also considered a powerful capability within software test automation; however, since we covered the abilities of code coverage with Istanbul and Babel in Chapter 8, Measuring Test Coverage of the Web Application, we will not repeat it here. Keep in mind that, like Playwright, Puppeteer JavaScript and CSS code coverage with Istanbul (https://github.com/istanbuljs/puppeteer-to-istanbul) is only supported on Chromium-based browsers.
Puppeteer namespaces
Within the Puppeteer framework, frontend web application developers can utilize the device's methods, network conditions, and error-handling capabilities.
To perform web application testing on specific devices...