Automated HAR and Actions Tool
Setup Instructions
Save this HTML file as
index.html
and the server code (below) as
server.js
in the same directory.
Install Node.js dependencies by running the following command in your terminal:
npm install express puppeteer puppeteer-har
Copy Command
Start the Node.js server by running:
node server.js
Copy Command
Open this HTML file (index.html) in your browser and use each button below to trigger Puppeteer actions.
Action Buttons
1. Capture Full HAR
2. Capture Fetch Requests
3. Take Screenshot
4. Log Network Activity
5. Save Page Content
6. Close Browser