What problem does it solve?
Manually interacting with browsers for testing, scraping, or performance analysis is repetitive and error-prone. This skill provides a suite of executable Puppeteer CLI scripts to automate browser tasks, offering precise control over web pages for debugging, performance monitoring, and data extraction.
Core Features & Use Cases
- Comprehensive Browser Automation: Navigate, click, fill forms, take screenshots (with auto-compression), and execute custom JavaScript directly in the browser context.
- Advanced Web Analysis: Monitor console messages, track network requests/responses, and measure Core Web Vitals to diagnose performance bottlenecks and debug client-side issues.
- Robust Error Recovery & Troubleshooting: Includes guidelines for verifying working directories, validating outputs, and recovering from script failures, ensuring reliable automation.
- Use Case: You need to automate a login process, take a full-page screenshot of a dashboard, and then extract specific data from a table. You can chain
navigate.js, fill.js, click.js, screenshot.js, and evaluate.js to perform this entire workflow programmatically.
Quick Start
Navigate to 'https://example.com' and take a full-page screenshot, saving it as 'example.png' in the 'docs/screenshots' directory.