What is "puppeteer"

Puppeteer is a Node library that provides a high-level API to control Chrome or Chromium under the Devtools Protocol.

Most of the things you can do manually in the browser can be done using Puppeteer as for example, make screenshots, generate PDF pages, automate sending forms, perform tests, among others.