agent-browser

Automate Playwright-driven browser interactions for AI agents via Rust CLI and Node.js daemon.

2|Updated Jun 23, 2022
One-click install
npx skills add https://github.com/magoz/.dotfiles --skill agent-browser-magoz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-browser
Source: https://github.com/magoz/.dotfiles/tree/main/opencode/.config/opencode/skill/agent-browser
Command: npx skills add https://github.com/magoz/.dotfiles --skill agent-browser-magoz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate browser interactions for AI agents by controlling Playwright-driven browsers.

Core Features & Use Cases

  • Deterministic refs: Snapshot generates ARIA-based refs for stable element targeting during conversations with AI agents.
  • Multi-session isolation: Separate daemon instances per session to preserve state and isolation.
  • CLI + daemon architecture: Rust CLI for speed and a Node.js daemon to manage Playwright lifecycles.
  • Automation use cases: Web browsing, data scraping, form filling, and automated testing across dynamic pages.

Quick Start

Open a target site with the agent-browser tool to begin automated web interaction.

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 interactions for AI agents using Playwright?

You can automate web browsing for AI agents by using a Rust CLI and Node.js daemon to control Playwright-driven browsers, managing lifecycles and session isolation for dynamic web app navigation, scraping, and testing.

What is the best way to maintain stable element targeting during web automation with AI?

Stable element targeting during web automation is achieved using deterministic ARIA-based refs generated by snapshots, ensuring reliable element selection throughout conversational interactions with AI agents.

Do I need Rust and Node.js to run Playwright browser automation for AI agents?

Yes, managing browser lifecycles and session isolation for AI agent web automation requires both a Rust CLI for speed and a Node.js daemon to control Playwright instances.

Can I run multiple isolated browser sessions for concurrent AI-driven web scraping?

Yes, multi-session isolation supports concurrent AI-driven web scraping by running separate daemon instances per session, preserving individual state and isolation for each browser automation task.

Does this web automation approach work for form filling and automated testing on dynamic pages?

Yes, this web automation approach works for form filling and automated testing on dynamic pages by leveraging Playwright-driven browsers to navigate and interact with dynamically loaded web elements.