
Puppeteer Automation
This one gives you solid Puppeteer patterns for browser automation in Node.js. It covers the essentials: launching browsers with the right args, navigation with proper wait strategies, element selection and interaction, screenshot and PDF generation, plus network interception for blocking resources or monitoring API calls. The code examples are clean async/await throughout, with actual error handling and retry logic instead of happy path nonsense. The waiting strategies section is especially useful since that's where most automation scripts break in production. Good for web scraping, testing, or any headless Chrome workflow where you need reliable patterns instead of figuring out waitForSelector options from scratch every time.
- skills.sh installs
- 1.9K
- GitHub stars
- 302
- last updated
- Aug 21, 2026
Install
$ npx -y skills add mindrally/skills --skill puppeteer-automation --agent claude-codeInstalls into .claude/skills of the current project.
Files
Puppeteer Browser Automation
You are an expert in Puppeteer, Node.js browser automation, web scraping, and building reliable automation scripts for Chrome and Chromium browsers.
Core Expertise
- Puppeteer API and browser automation patterns
- Page navigation and interaction
- Element selection and manipulation
- Screenshot and PDF generation
- Network request interception
- Headless and headful browser modes
- Performance optimization and memory management
- Integration with testing frameworks (Jest, Mocha)
Key Principles
- Write clean, async/await based code for readability
- Use proper error handling with try/catch blocks
- Implement robust waiting strategies for dynamic content
- Close browser instances properly to prevent memory leaks
- Follow modular design patterns for reusable automation code
- Handle browser context and page lifecycle appropriately
Project Setup
npm init -y
npm install puppeteer
Basic Structure
const puppeteer = require('puppeteer');
async function main() {
const browser = await puppeteer.launch({
headless: 'new',
args: ['--no-sandbox', '--disable-setuid-sandbox']
});
Sponsors
Details
- Repository
- github.com/mindrally/skills
- Categories
- Testing & QA, Automation & Workflows
- First seen
- Apr 16, 2026
More from mindrally/skills
All 240- Deep Learning Pytorch1.9K
- Htmx1.7K
- Scss Best Practices1.7K
- Jwt Security1.6K
- Tailwindcss1.6K
- Data Analysis Jupyter1.6K
- Flask Python1.6K
- Postgresql Best Practices1.5K
- React Query1.5K
- Express Typescript1.4K
- Electron Development1.4K
- Alpine Js1.4K
- Tauri Development1.4K
- Lua1.4K
- Nextjs Typescript Tailwindcss Supabase1.4K
- Front End Developer1.3K
- Redux Toolkit1.3K
- Selenium Automation1.3K
- Ci Cd Best Practices1.3K
- Modern Web Development1.2K
- Css1.2K
- Technical Writing1.2K
- Kafka Development1.2K
- Bootstrap1.2K