agent-browser
agent-browser enables Claude to control web browsers for automation and testing tasks. Execute end-to-end workflows, interact with web applications, and validate user journeys through code-driven browser control. Perfect for QA automation, web scraping, and business process testing.
agent-browser enables Claude to control web browsers for automation and testing tasks. Execute end-to-end workflows, interact with web applications, and validate user journeys through code-driven browser control. Perfect for QA automation, web scraping, and business process testing.
AI-generated summary based on this skill's SKILL.md
Install
Casper-Studios/casper-marketplace/agent-browser · repository language: Python
git clone https://github.com/Casper-Studios/casper-marketplace
cp -r casper-marketplace/plugins/engineering/testing/skills/agent-browser ~/.claude/skills/agent-browserFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is agent-browser used for?
agent-browser enables Claude to control web browsers for automation and testing tasks. Execute end-to-end workflows, interact with web applications, and validate user journeys through code-driven browser control. Perfect for QA automation, web scraping, and business process testing.
Can agent-browser automate form filling and web page interactions?
Yes, agent-browser supports filling forms and interacting with web page elements programmatically. You can automate repetitive data entry tasks, click buttons, select dropdown options, and manipulate any interactive element on a web page through code-driven commands.
Is agent-browser a selenium alternative for browser automation?
agent-browser functions as a modern browser automation solution that enables end-to-end testing workflows and web interactions. Like other automation tools, agent-browser allows you to control browser behavior, interact with page elements, and validate application functionality—making it suitable for QA automation and testing scenarios where you need programmatic browser control.
What testing capabilities does agent-browser provide?
agent-browser supports multiple testing scenarios including end-to-end testing workflows, login flow automation testing, and UI testing with screenshot capture. You can capture screenshots and snapshots for visual verification, test authentication flows and login sequences, and validate user journeys. The tool also enables accessibility testing and visual regression testing through its snapshot and element detection features.
How does agent-browser handle element targeting and identification?
agent-browser uses ref-based element targeting for reliable DOM element identification automation. This approach allows you to target specific page elements programmatically without relying on fragile selectors, making your automation scripts more robust and maintainable across page changes.
Can agent-browser scrape and extract content from web pages?
Yes, agent-browser supports web scraping and content extraction from web pages. Combined with its browser automation capabilities, you can navigate to pages, interact with dynamic content, and extract data programmatically—making it suitable for data collection and web page interaction automation tasks.
SKILL.md
rendered from the published skill — quoted content, verbatim
Agent Browser Testing Skill
Browser automation and end-to-end testing using Vercel's agent-browser CLI. Uses ref-based element targeting for reliable, AI-friendly browser interaction.
Quick Decision Tree
What do you need?
│
├─ Take a screenshot of a page?
│ └─ agent-browser open [url] && agent-browser screenshot
│
├─ Fill out a form?
│ └─ open → snapshot -i → fill @ref → click @submit → snapshot
│
├─ Test a login flow?
│ └─ See references/authentication.md
│
├─ Run an E2E test?
│ └─ See references/testing-patterns.md
│
├─ Scrape page content?
│ └─ agent-browser open [url] && agent-browser snapshot -i
│
└─ Debug element targeting?
└─ agent-browser snapshot -i --format json
Installation
```bash
Install agent-browser globally
npm install -g agent-browser
Install browser dependencies (Chromium)
agent-browser install
Verify
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 6 files
plugins/engineering/testing/skills/agent-browser/SKILL.md
plugins/engineering/testing/skills/agent-browser/references/authentication.md
plugins/engineering/testing/skills/agent-browser/references/commands.md
plugins/engineering/testing/skills/agent-browser/references/snapshot-workflow.md
plugins/engineering/testing/skills/agent-browser/references/testing-patterns.md
plugins/engineering/testing/skills/agent-browser/scripts/browser_test.py