Continuous Test Orchestration And Execution Platform Online

Perform automated and live-interactive testing on 3000+ real desktop and mobile devices online.

How to install or set up Puppeteer?

To install Puppeteer, you must first have Node.js and npm (the Node.js package manager) installed on your system.

  • To check if you have Node.js and npm installed, you can open a terminal and run the following commands:

  • node -v
    npm -v

    If you don't have Node.js and npm installed, you can download and install them from the official website.


  • Once you have Node.js and npm installed, you can use npm to install Puppeteer by running the following command in your terminal:

  • npm install puppeteer

  • This will install Puppeteer and all of its dependencies. To use Puppeteer in your code, you will need to import it using the following code at the top of your JavaScript file:

  • const puppeteer = require('puppeteer');

  • You can then use the puppeteer object to control a headless Chrome browser and interact with web pages.
LambdaTest

Test your websites, web-apps, or mobile apps seamlessly with LambdaTest.

Start Free Testing
LambdaTest

Earn resume-worthy Selenium certifications that help you land a top job.

Learn More
LambdaTest

Test your web or mobile apps

Test orchestration and execution cloud of 3000+ browsers and OS

Support

24/7 support

Security

Enterprise grade security

Cloud

Fastest test execution cloud