Using Puppeteer for browser automation.
- Operating System - Microsoft Windows 10
- IDE - Microsoft Visual Studio Code
- JavaScript runtime - Node.js
- Browser - Chromium (downloaded during installation of Puppeteer)
- Puppeteer - Install in the directory where the code is present
npm install puppeteer
- Type the following in your terminal if you are executing the code from the folder in which the script exists
node <filename>
- Type the following in your terminal if you are executing the code from the folder in which the script doesn't exist
node <full file path with filename>