Node Js Puppeteer Tutorial. Step 2 − as per the local operating system (windows, mac or linux) we are using, click on the link to download the installer. Run ().then (() => console.log ('done')).catch (error => console.log (error));

Step 1) switch again to “ node.js cmd prompt ” and enter the command “ npm i puppeteer ” it downloads the latest version. For this tutorial, you need a basic knowledge of javascript, es6+ and node.js. Most things that you can do manually in the browser can be done using puppeteer!