What problem does it solve?
This Skill provides a general-purpose browser automation framework using Playwright, consolidating session persistence, stealth handling, retry logic, and dev-server detection to streamline ad-hoc browser tasks such as login testing, data extraction, and form interactions.
Core Features & Use Cases
- Session Persistence: Save/restore cookies to skip login flows and speed up repeated runs.
- Stealth & Reliability: Built-in stealth mode, human-like interactions, and automatic retries to handle flaky pages.
- Cloudflare Handling: Detects Cloudflare challenges and waits for resolution with optional cookie persistence.
- One-off Automation Patterns: Automate login flows, form submissions, data extraction, and screenshots.
- Dev Server Detection: Optionally detect running development servers to reuse local endpoints.
Quick Start
Install dependencies with npm install and install Chromium via Playwright:
- npm install playwright playwright-extra puppeteer-extra-plugin-stealth dotenv
- npx playwright install chromium
Then run a sample script:
- node run.js path/to/your-script.js