Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer runs headless by default, but can be configured to run full (non-headless) Chrome or Chromium.Puppeteer 是一个通过 DevTools 协议提供高级别 API 来控制 Chrome 或 Chromium 的 node 库。Puppeteer 默认以 headless 模式运行,但是可以通过修改配置文件运行“有头”模式。