DEV Community

Super useful puppeteer snippets 💭💭💭 Series' Articles

Back to Benjamin Mock's Series
📷 How to take a screenshot of a webpage with JavaScript in Node.js (using puppeteer)
Cover image for 📷 How to take a screenshot of a webpage with JavaScript in Node.js (using puppeteer)

📷 How to take a screenshot of a webpage with JavaScript in Node.js (using puppeteer)

256
Comments 16
1 min read
📷 More on Screenshots with JavaScript in Node.js (emulating devices)

📷 More on Screenshots with JavaScript in Node.js (emulating devices)

25
Comments
1 min read
📷 More on Screenshots with JavaScript in Node.js (creating PDFs)

📷 More on Screenshots with JavaScript in Node.js (creating PDFs)

45
Comments
1 min read
🗄️ The easiest way to scrape a website with Javascript (in Node.js)

🗄️ The easiest way to scrape a website with Javascript (in Node.js)

148
Comments 7
2 min read
🍪 Screenshot or scrape webpages behind a login with JavaScript (in Node.js)
Cover image for 🍪 Screenshot or scrape webpages behind a login with JavaScript (in Node.js)

🍪 Screenshot or scrape webpages behind a login with JavaScript (in Node.js)

43
Comments
2 min read
🧭 Programmatically taking Screenshots while navigating & searching on webpages using JavaScript (puppeteer)
Cover image for 🧭 Programmatically taking Screenshots while navigating &  searching on webpages using JavaScript (puppeteer)

🧭 Programmatically taking Screenshots while navigating & searching on webpages using JavaScript (puppeteer)

42
Comments
2 min read
👟 Executing JavaScript in the page context of puppeteer
Cover image for 👟 Executing JavaScript in the page context of puppeteer

👟 Executing JavaScript in the page context of puppeteer

22
Comments 1
1 min read
🚀 Performance measuring of a webpage with JavaScript in Node.js using puppeteer

🚀 Performance measuring of a webpage with JavaScript in Node.js using puppeteer

16
Comments
1 min read