agent-browser

Automates browser interactions for web testing, form filling, screenshots, and data extraction.

Updated Jun 14, 2026
One-click install
npx skills add https://github.com/ironkid90-s/lucky5-v7 --skill agent-browser-ironkid90-s
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-browser
Source: https://github.com/ironkid90-s/lucky5-v7/tree/main/.ptah/skills/agent-browser
Command: npx skills add https://github.com/ironkid90-s/lucky5-v7 --skill agent-browser-ironkid90-s

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires agent-browser, and includes references (resource) components.

What problem does it solve? Manually navigating websites, filling forms, and extracting page data is repetitive and error-prone. This Skill lets an AI agent drive a real browser through a command-line interface, handling navigation, element interaction, screenshots, and data extraction without writing custom automation code. ## Core Features & Use Cases - Element Interaction via Refs: Snapshot pages to get interactive element references, then click, fill, select, hover, or drag elements by ref or semantic locators (role, text, label, testid). - Capture & Recording: Take full-page screenshots, export pages as PDF, and record video of browser sessions for debugging or documentation. - Sessions, State & Network Control: Run parallel isolated sessions, save and reuse authentication state, manage cookies and localStorage, and intercept or mock network requests. - Use Case: Test a login flow by opening the page, snapshotting interactive elements, filling credentials, submitting the form, waiting for the dashboard URL, and saving the authenticated state for later runs. ## Quick Start Ask the agent to open a website with agent-browser, snapshot the interactive elements, fill in the login form, and take a screenshot of the result.

Frequently Asked Questions about agent-browser

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate form filling in a browser from the command line?

Open the page with agent-browser open, run snapshot -i to list interactive elements with refs, then use fill @ref "value" for each field and click the submit button ref. Wait for navigation with wait --load networkidle and re-snapshot to verify the result.

How do I take a full-page screenshot of a website?

Run agent-browser open followed by agent-browser screenshot --full path.png to capture the entire page. Without --full, the screenshot captures only the current viewport, and you can set the viewport size first with set viewport.

Can agent-browser reuse login sessions across runs?

Yes. After logging in once, run agent-browser state save auth.json to persist cookies and storage. Later sessions restore the authenticated state with agent-browser state load auth.json before navigating to protected pages.

Does agent-browser support running multiple browsers in parallel?

Yes, use the --session flag to create isolated browser sessions, for example agent-browser --session test1 open site-a.com. Each session maintains its own cookies and state, and agent-browser session list shows active sessions.

Why does my element ref stop working after navigation?

Refs from a snapshot become invalid after navigation or significant DOM changes. Re-run agent-browser snapshot -i after any page change to get fresh refs before interacting with elements again.

How do I handle sites with self-signed HTTPS certificates?

Pass the --ignore-https-errors flag when opening the page, for example agent-browser open https://localhost:8443 --ignore-https-errors. This bypasses certificate validation for that browser session.