browser-automation

Orchestrate OpenCode Browser primitives to automate navigation and interaction.

249|47|Updated Nov 5, 2024
One-click install
npx skills add https://github.com/different-ai/agent-bank --skill browser-automation-different-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: browser-automation
Source: https://github.com/different-ai/agent-bank/tree/main/.opencode/skill/browser-automation
Command: npx skills add https://github.com/different-ai/agent-bank --skill browser-automation-different-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a safe, composable workflow to automate browser-based tasks, reducing manual browsing effort and errors.

Core Features & Use Cases

  • Composable primitives: Leverages minimal OpenCode Browser primitives to perform reliable navigation and interaction.
  • Controlled browsing: Uses browser_query lists and index-based selection to click and interact with elements.
  • State verification: Confirms state changes after each action to ensure tasks progress as intended.
  • Workflow flexibility: Supports opening new tabs, navigating to URLs, waiting for UI with timeouts, discovering candidates, and performing clicks or input.
  • Use Case: Automate login flows, data collection, form submissions, and UI testing across multi-page sessions.

Quick Start

Use this skill to navigate to a page, wait for a target element with a timeout, and perform a click or input sequence as part of an automated task.

Frequently Asked Questions about browser-automation

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

FAQPage Schema
How do I automate browser navigation and form filling across multiple pages?

Browser automation supports opening new tabs, navigating URLs, waiting for UI with timeouts, and discovering candidates via mode=list to automate multi-page workflows like login flows, form submissions, and UI testing.

How does browser_query handle dynamic UI elements during web automation?

Browser_query uses timeoutMs to wait for UI elements and supports mode=list to discover candidates, enabling index-based selection for clicking and inputting data during automated web tasks.

Can I use this skill to automate login flows and repetitive browsing workflows?

Yes, this skill automates login flows and repetitive browsing workflows by orchestrating OpenCode Browser primitives to navigate URLs, wait for target elements, and perform click or input sequences while verifying state changes.

What's the best way to verify state changes during automated UI testing?

Use this skill's composable browser primitives to confirm state changes after each action, ensuring automated UI testing tasks progress as intended across single or multi-page sessions.

Does this browser automation approach work for multi-page data gathering sessions?

Yes, this skill supports multi-page data gathering by orchestrating OpenCode Browser primitives to open new tabs, navigate URLs, wait for elements with timeouts, and perform reliable interactions across sessions.

What are the limitations of using OpenCode Browser primitives for web automation?

This skill's browser automation relies on OpenCode Browser primitives like browser_open_tab, browser_navigate, browser_query, and browser_select, requiring index-based element selection rather than direct DOM manipulation for interactions.