agent-browser

Automate browser navigation, form filling, screenshots, and data extraction via CLI.

Updated Oct 2, 2025
One-click install
npx skills add https://github.com/YuriiYInno/Innogram --skill agent-browser-yuriiyinno
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: agent-browser
Source: https://github.com/YuriiYInno/Innogram/tree/main/.codex/skills/agent-browser
Command: npx skills add https://github.com/YuriiYInno/Innogram --skill agent-browser-yuriiyinno

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Manually interacting with websites for testing, scraping, or repetitive workflows is slow and error-prone. This Skill gives AI agents programmatic control of a real Chrome/Chromium browser through a CLI, so tasks like logging in, filling forms, clicking buttons, and capturing pages can be automated end to end. ## Core Features & Use Cases - Snapshot-Based Interaction: Get compact accessibility-tree snapshots with element refs (@e1, @e2) to click, fill, and select elements without parsing raw HTML. - Authentication & Sessions: Reuse login state via auth vault, saved state files, persistent profiles, or named sessions, including OAuth and 2FA flows. - Capture & Verification: Take screenshots, annotated screenshots, PDFs, video recordings, and diff page states to verify changes or build visual regression checks. - Use Case: Test a web app's signup flow by navigating to the form, snapshotting the fields, filling each input by ref, submitting, and screenshotting the result — all in a few batched commands. ## Quick Start Use the agent-browser skill to open https://example.com, take an interactive snapshot, and capture a screenshot of the page.

Frequently Asked Questions about agent-browser

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

FAQPage Schema
How do I automate filling out a web form from the command line?▼

Open the page with agent-browser open, run snapshot -i to get element refs, then use fill, select, and check commands with those refs before clicking the submit button. Batch multiple commands in one call for efficiency.

How do I keep a browser session logged in between automation runs?▼

Save state after login with agent-browser state save, or use --session-name to auto-save and restore cookies and localStorage. The auth vault stores encrypted credentials and logs in by profile name.

Can agent-browser connect to my existing Chrome browser?▼

Yes. Use --auto-connect to discover a running Chrome with remote debugging enabled, or --cdp 9222 for an explicit port. This lets you reuse an already-authenticated browser session.

Why do my element refs stop working after clicking a button?▼

Refs are invalidated whenever the page changes, including navigation, form submissions, and dynamic content updates. Re-run snapshot -i after any page change to get fresh refs before interacting again.

Does agent-browser support mobile or iOS testing?▼

Yes. Use set device for desktop device emulation, or -p ios with --device to drive Mobile Safari on an iOS simulator. iOS automation requires macOS with Xcode and Appium installed.

Why does wait --load networkidle hang on some websites?▼

Sites with analytics, ads, or websockets maintain persistent network activity, so networkidle never fires. Use wait 2000, wait for a specific selector, or wait --text instead.