Skip to content
Skillpedia
General coding6.7k · #13734

dev-browser

What it does

Gives your agent a command-line tool that drives a real Chrome browser and keeps named pages open between steps. It is for people who want to automate websites or test a web app without clicking through it by hand.

When to use it

  • ✓When you want your agent to open a website, fill out a form or take a screenshot.
  • ✓When you need data pulled from web pages that you would otherwise copy by hand.
  • ✓When you want to test how a website behaves when someone logs in and clicks around.

Skill link

https://github.com/SawyerHood/dev-browser/blob/main/skills/dev-browser/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/SawyerHood/dev-browser/blob/main/skills/dev-browser/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Open my store website, fill in the contact form with my test details and take a screenshot of the result.”

5 new skills a week. 1 minute to read.

How it works

The skill runs short scripts against a Chrome browser that stays running in the background. Named pages stay open between runs, and the agent reads each page as a list of labelled items it can click.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

dev-browser

CLI for controlling a real Chrome with short Puppeteer scripts. One warm daemon; named pages persist between runs.

npm install -g dev-browser   # bun add -g dev-browser works too; the first run downloads the binary if the install script was blocked
dev-browser install          # only if the first run says "No Chrome found"

Run dev-browser --help (full guide; dev-browser help <topic> for one section) before non-trivial work. Quick start:

dev-browser <<'EOF'
const page = await browser.getPage("main");        // named page persists across runs
await page.goto("https://example.com");            // default waitUntil: domcontentloaded
await page.snapshot({ interactive: true })         // ARIA tree with refs; last expression is printed
EOF
dev-browser -e 'const p = await browser.getPage("main"); await p.click("ref/e6"); await p.waitForLoad(); p.url()'

Gotchas: end lines with semicolons (a line starting with ( continues the previous one); return an object as ({ a, b }); page.click never waits (use waitForSelector first); page names are per browser (--headless and headed are separate Chromes and profiles); refs reset on navigation — re-snapshot; file paths resolve against your cwd (uploadFile, screenshot/pdf path); do not run parallel dev-browser calls against the same named page.

FAQ

Do I need to know programming?

No. Your agent writes the short scripts, and you only describe the task you want done.

Can it log into websites?

Yes. The skill is meant for logging in and filling forms, so use it only with accounts you are allowed to use.

What if Chrome is not installed?

If the first run says no Chrome was found, the skill's install step sets one up for you.

Details

Original description by the author

Browser automation with persistent named pages via the dev-browser CLI. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, log into sites, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website", "log into", "open the browser", or any browser interaction request.

repo: SawyerHood/dev-browser

Popularity

GitHub stars
6.7k
Ranking position
#13734
License
MIT
Updated
10/18/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

Similar skills