agent-browser

Automate browser navigation and DOM interactions via CLI workflows.

Updated Nov 11, 2023
One-click install
npx skills add https://github.com/michaelvolz/redmuffin.Blazor.StaticWeb --skill agent-browser-michaelvolz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-browser
Source: https://github.com/michaelvolz/redmuffin.Blazor.StaticWeb/tree/main/.opencode/skills/ce/agent-browser
Command: npx skills add https://github.com/michaelvolz/redmuffin.Blazor.StaticWeb --skill agent-browser-michaelvolz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

AI agents often need reliable, repeatable browser interactions for navigation, form submissions, screenshots, or data extraction, and manual handling of these tasks slows productivity and introduces errors.

Core Features & Use Cases

  • Command-driven Browser Control: Navigate pages, manage sessions, capture refs, and interact with elements through the agent-browser CLI.
  • Authentication and Persistence: Support for auth vaults, state files, sessions, and profiles keeps agents logged in across runs without leaking secrets.
  • Instrumentation & Verification: Snapshot diffs, annotated screenshots, recordings, and profiling enable testing, monitoring, and documentation of complex workflows.
  • Use Case: Automate logging into a secure SaaS dashboard, extract key metrics, and take annotated screenshots for reporting or regression comparison.

Quick Start

Ask it to open the target webpage, capture interactive refs, perform the required clicks or fills, and confirm success with waits or screenshots.

Frequently Asked Questions about agent-browser

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

FAQPage Schema
How do I automate browser workflows for multi-step form submissions and data extraction?

Automating browser workflows involves using agent-browser to navigate pages, manage sessions, and interact with DOM elements. This enables repeatable multi-step form submissions, cross-domain data capture, and secure authentication for agent-driven web tasks.

Can I maintain persistent browser sessions for automated authentication across multiple runs?

Yes, persistent browser sessions are supported for automated authentication across multiple runs. It uses auth vaults, state files, sessions, and profiles to keep agents logged in without leaking secrets, ensuring security-conscious state handling.

How do I verify web automation results and monitor visual regressions?

Verifying web automation results is achieved through snapshot diffs, annotated screenshots, and recordings. This instrumentation enables monitoring, testing, and documentation of complex browser workflows to detect visual regressions.

What is the best way to handle semantic locators for DOM interactions in CLI-controlled browser automation?

Handling semantic locators for DOM interactions is done by capturing interactive refs via the agent-browser CLI. This allows agents to perform clicks, fills, and navigation using semantic locators rather than fragile selectors.

Does agent-browser work for scraping secure SaaS dashboards and capturing key metrics?

Yes, agent-browser works for scraping secure SaaS dashboards and capturing key metrics. It automates logging into secure platforms, extracts data, and takes annotated screenshots for reporting or regression comparison.

Why do my automated browser interactions fail during cross-domain navigation?

Automated browser interactions can fail during cross-domain navigation due to session management issues or missing waits. Confirm success with explicit waits or screenshots, and ensure persistent session handling is configured correctly.