# Browser Automation

> Automate Chrome for web scraping, SEO analysis, and extracting data from JavaScript-heavy sites. Use for multi-page scraping, authenticated content, screenshots, or when WebFetch isn't enough.

- Skill: `jeffvincent/browser-automation` (Agent Skill, multi-file: 10 files)
- Install (CLI): `npx skillmds@latest add jeffvincent/browser-automation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jeffvincent/browser-automation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Marketing & Growth
- Author: jeffvincent (https://skillmd.com/u/jeffvincent)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/jeffvincent/browser-automation

---


# Browser Automation

Lightweight browser automation using 6 simple Node.js scripts. Use this for web scraping, SEO analysis, or extracting data from JavaScript-heavy sites.

**When to use:** Multi-page scraping, authenticated content, screenshots, JavaScript-rendered content
**When to use WebFetch:** Simple HTML, single pages, no auth needed

## Scripts
Located in `~/.claude/skills/browser-automation/resources/`:
- `browser-start.js` - Launch Chrome with debugging
- `browser-navigate.js <url>` - Navigate to URL
- `browser-eval.js '<javascript>'` - Run JavaScript in page context
- `browser-screenshot.js` - Capture screenshot
- `browser-cookies.js` - Export cookies
- `browser-close.js` - Shutdown browser

## Basic workflow
```bash
cd ~/.claude/skills/browser-automation/resources
node browser-start.js --headless
node browser-navigate.js "https://example.com"
node browser-eval.js 'Array.from(document.querySelectorAll("h2")).map(h => h.textContent.trim())' --json > headings.json
node browser-close.js
```

See `~/.claude/skills/browser-automation/README.md` for examples and patterns.

