1. Learn Puppeteer Total Beginner: install puppeteer

— 1 min read


In this tutorial I will explain how you can install puppeteer. In the follow up courses you will learn how to automate browsers via puppeteer

In this example I use visual studio code and as a prerequisite npm is installed. at first we need to crate a package, in which the package name is the name of my folder= learnpuppeteer. fill in the fields as I described in the screenshot

once created it will generate a package.json

after that you can install puppeteer. The syntax to do so is npm install puppeteer, but as we also want to install mocha and chai it is extended to npm install puppeteer mocha chai.

Now you see how easy it is to install puppeteer.