agent-browser
하는 일
이 스킬은 agent-browser 명령줄 도구를 사용해 웹 페이지를 열고, 동작을 수행하고, 보이는 내용을 점검합니다. 사용자가 경험하는 대로 웹사이트가 작동하는지 확인해야 하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓실제 브라우저에서 웹 페이지나 관리자 화면이 올바르게 작동하는지 확인하고 싶을 때.
- ✓동작 후 페이지 모습을 증거로 스크린샷을 남기고 싶을 때.
- ✓클릭이나 양식 제출 후 페이지에 예상한 결과가 나오는지 확인하고 싶을 때.
스킬 링크
https://github.com/emdash-cms/emdash/blob/main/skills/agent-browser/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 사이트의 로그인 페이지를 브라우저에서 열고, 로그인한 뒤 대시보드의 스크린샷을 찍어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 이름이 있는 브라우저 세션에서 페이지를 열고, 페이지 구조를 읽고, 동작을 수행한 뒤, 새 상태와 콘솔 오류를 확인합니다. 그 과정에서 스크린샷도 찍을 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Test interfaces with agent-browser
Use the installed agent-browser CLI for rendered, user-facing verification. Load its version-matched instructions before relying on command syntax:
agent-browser skills get core --full
Use a specialized bundled guide when the target requires one. agent-browser skills list shows the available guides.
Verification loop
- Start or identify the target application and record the exact URL and viewport.
- Open the page in a named session.
- Take an accessibility snapshot and identify controls by role, label, or snapshot reference.
- Perform the user action.
- Wait for the resulting state, then take a fresh snapshot. References can become stale after navigation or a substantial DOM update.
- Verify the observable result, console errors, and relevant network behavior.
- Capture screenshots when visual evidence helps establish the result.
For EmDash admin testing, authenticate through the development bypass rather than attempting to automate passkeys:
agent-browser open 'http://localhost:4321/_emdash/api/setup/dev-bypass?redirect=/_emdash/admin'
Use auth/dev-bypass instead when setup is already complete.
Interaction guidance
- Prefer role and label locators when they express the user-facing control clearly. Use snapshot references for efficient exploration.
- Re-snapshot after a dialog opens, a route changes, or content is replaced.
- Wait for a selector or visible state instead of adding a fixed delay unless timing itself is under test.
- Use a named session for flows that depend on cookies or storage. Close sessions that are no longer needed.
- Check
agent-browser consoleandagent-browser errorswhen the UI behaves unexpectedly. - Use
agent-browser network requestswhen the result depends on a request or response boundary.
Evidence
Record the path tested, inputs, viewport, expected result, actual result, and any console or request failures. For UI changes, capture before-and-after screenshots of every affected screen.
Save screenshots inside the task workspace with descriptive filenames. Inspect the saved image before reporting success; a completed screenshot command does not prove that the intended state was visible.
Browser exploration does not replace a regression test when stable automated coverage can protect the behavior. Convert a confirmed defect into the narrowest meaningful automated test when the task includes implementation.
자주 묻는 질문
자동화된 테스트를 대체하나요?
아니요. 반복 가능한 회귀 테스트가 필요하면 결정적 테스트 모음이 더 좋은 선택입니다.
페이지의 버튼은 어떻게 찾나요?
페이지의 접근성 정보를 읽어서, 레이블과 역할로 컨트롤을 찾습니다.
오류를 보여 줄 수 있나요?
네. 검증의 일부로 콘솔 오류와 관련 네트워크 동작을 확인합니다.
상세 정보
작성자의 원본 설명
Use the agent-browser CLI to exercise web interfaces, inspect rendered accessibility state, verify interactions, and capture screenshots. Use for browser-based UI testing and evidence collection. Do not use as a substitute for deterministic Playwright coverage when an automated regression test is the requested deliverable.
repo: emdash-cms/emdash
인기도
- GitHub 스타
- 14k
- 순위
- #11245
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
adversarial-reviewer
14k에이전트가 코드 변경에서 숨은 버그와 안전하지 않은 가정을 찾도록 돕습니다. 요청하면 일반 리뷰를 넘어서는 심층 탐색을 합니다.
building-emdash-site
14k에이전트가 Astro 기반 EmDash CMS 프로젝트의 사이트 부분을 만들도록 돕습니다. 콘텐츠, 스키마, 메뉴, 분류, 배포를 다룹니다.
creating-plugins
14k에이전트가 EmDash CMS용 플러그인을 만들도록 돕습니다. 안전한 훅, 경로, 저장소, 관리자 화면을 포함합니다.
emdash-cli
14k에이전트가 명령줄에서 EmDash 사이트를 관리하도록 돕습니다. 콘텐츠, 미디어, 메뉴, 마이그레이션, 전체 사이트 내보내기와 가져오기를 포함합니다.
비슷한 스킬
test-driven-development
311k에이전트가 기능이나 수정을 만들기 전에 실패하는 테스트를 먼저 쓰고, 그것을 통과시키는 가장 작은 코드를 작성하도록 가르칩니다.
verification-before-completion
311k에이전트가 작업, 수정, 빌드가 완료되었거나 통과했다고 말하기 전에 실제 점검을 실행하고 결과를 읽도록 가르칩니다.
migrate-to-shoehorn
310k테스트 파일의 위험한 타입 캐스팅을 shoehorn 라이브러리로 바꿔, 테스트가 일부 데이터만 써도 타입 검사를 통과하도록 돕습니다.