Skip to Main Content
A Frontend Web Developer's Guide to Testing
book

A Frontend Web Developer's Guide to Testing

by Eran Kinsbruner
March 2022
Intermediate to advanced content levelIntermediate to advanced
304 pages
6h 18m
English
Packt Publishing
Content preview from A Frontend Web Developer's Guide to Testing

Chapter 12: Working with the Puppeteer Framework

As highlighted in Chapter 3, Top Web Test Automation Frameworks, Google Puppeteer is the baseline framework that was built by the Microsoft team that is now responsible for Playwright. Both frameworks are node libraries based on the CDP, and that obviously allows the Puppeteer framework to acquire deep coverage and testing abilities for any web application. Unlike the Playwright framework, which supports most web browsers as well as other language bindings, Google's Puppeteer framework only works on Chromium-based browsers and only supports JavaScript.

The framework runs by default in Headless mode, but can also be run with the browser UI (in Headed mode). With rich built-in capabilities that ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Full-Stack Web Development with GraphQL and React - Second Edition

Full-Stack Web Development with GraphQL and React - Second Edition

Sebastian Grebe
Testing JavaScript Applications

Testing JavaScript Applications

Lucas Fernandes da Costa

Publisher Resources

ISBN: 9781803238319Supplemental Content