Puppeteer is a Node library which provides a high-level API to control headless Chrome over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome.
Puppeteer is a tool in the Headless Browsers category of a tech stack. Puppeteer is an open source tool with 57K GitHub stars and 5.6K GitHub forks. Here’s a link to Puppeteer’s open source repository on GitHub
The Puppeteer API is hierarchical and mirrors the browser structure.
Installing and getting started with Puppeteer is very easy. Since Puppeteer is a Node library, it can be installed using the npm tool.
Installation can be done with the command below:
1 | npm i puppeteer |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.