Puppeteer is a Node.js library which provides a high-level API to controlChrome or Firefox over theDevTools Protocol or WebDriver BiDi.Puppeteer runs in the headless (no visible UI) by defaultbut can be configured to run in a visible ("headful") browser.