본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

agent-browser

matrixy 제작

Clawdbot Tools
26.2kclawskills.sh가 보고한 다운로드 수
66스타
18조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Headless browser automation CLI optimized for AI agents.

설명

이 스킬이 하는 일

Headless browser automation CLI built for AI agent workflows. Takes accessibility tree snapshots of web pages and exposes interactive elements as stable refs (like @e2, @e3) for deterministic targeting. Supports isolated sessions, saved auth state, and network interception.

Ref-based element selection from accessibility tree snapshots avoids the fragility of CSS selectors and XPath that break when layouts change.

사용 시점

  • Automating multi-step web form submissions without brittle selectors
  • Running simultaneous admin and user browser sessions for testing
  • Scraping dynamic single-page apps that require JavaScript execution
  • Reusing saved login state to skip authentication on repeat runs
  • Mocking API responses during automated browser workflows

예시 워크플로

입력

User asks: search Google for 'AI agents' and return the first result link

에이전트
  1. 1

    Run agent-browser open https://www.google.com

  2. 2

    Run agent-browser snapshot -i --json to get interactive element refs

  3. 3

    Identify search box ref from snapshot, run agent-browser fill @e1 "AI agents" then agent-browser press Enter

  4. 4

    Run agent-browser wait --load networkidle, then agent-browser snapshot -i --json again

  5. 5

    Run agent-browser get attr @e4 "href" --json to extract the first result URL

출력

Returns the href value of the first search result as JSON

요구 사항

  • agent-browser CLI installed globally via npm install -g agent-browser

설치

clawhub install matrixy/agent-browser-clawdbot

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크