Puppeteer Core
Puppeteer Core is a Node.js library that provides a high-level API to control headless Chrome or Chromium browsers programmatically. It enables developers to automate web interactions, such as generating screenshots, scraping content, and testing web applications, without a graphical user interface. It is a lightweight version of Puppeteer that excludes bundled Chromium, allowing users to connect to an existing browser instance.
Developers should use Puppeteer Core when they need to automate browser tasks in environments where they already have Chrome/Chromium installed, such as in CI/CD pipelines or server-side applications, to reduce dependencies and improve performance. It is ideal for web scraping, automated testing, and generating PDFs from web pages, as it offers precise control over browser behavior and supports modern web standards.