What is Puppeteer used for?
Puppeteer is a Node library developed by Google that allows for user interface testing. It operates similarly to Selenium, which is a browser automation tool, but it offers advantages over Selenium in that it works with Chrome and Chromium and offers a higher level of abstraction above the page’s DOM. Puppeteer can be given a URL to control programmatically, or an HTML document can be passed directly into the function.
Puppeteer | Chrome for Developers)%20Chrome%20or%20Chromium.