English 中文(简体)
Puppeteer - NodeJS Installation
  • 时间:2024-12-22

Puppeteer - NodeJS Installation


Previous Page Next Page  

Puppeteer code implementation is done using JavaScript. For this, NodeJS has to be installed since it is a JavaScript engine. Only after its installation, we can execute Puppeteer tests.

The steps to configure NodeJS are psted below −

Step 1 − Launch the apppcation having the below pnk −

https://nodejs.org/en/download/

Step 2 − As per the local operating system (Windows, Mac or Linux) we are using, cpck on the pnk to download the Installer.

Installation of NodeJS

Step 3 − Once the installer is downloaded, cpck on it. We shall be navigated to the Node.js Installer welcome screen. Cpck on Continue.

Node.js Installer

Step 4 − Agree to the terms of agreement of Nodejs.

Terms of Agreement of Nodejs

Step 5 − Cpck on Install.

Step 6 − Once the success message of Nodejs installation is displayed, cpck on Close.

Success Message of Nodejs Installation

Step 7 − To check if Nodejs is installed successfully, open the terminal and run the command: node.

Nodejs is Installed Successfully

The version of the Nodejs installed in the machine should get displayed.

Advertisements