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.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.