Puppeteer is a JavaScript library with a high-level API for controlling Chrome or Firefox through the DevTools Protocol or WebDriver BiDi. The browser runs headless by default. Developers use it for automated testing, screenshots and automating browser tasks. It is distributed as npm packages: puppeteer downloads a compatible Chrome during installation, while puppeteer-core contains only the library.
The Puppeteer site carries a copyright notice from Google, Inc., and the project is licensed under Apache-2.0. Google is headquartered in the United States. Because Puppeteer runs locally or on your own infrastructure and does not rely on a cloud service from its developer, the library itself sends no data out of your environment. The dependency lies mainly in the Chrome browser it downloads and in the direction Google gives the project. As an open-source project, its code can be inspected and, if needed, maintained by the user.