본문으로 건너뛰기
Skillpedia
에이전트394k · #14

browser-automation

하는 일

이 스킬은 양식 채우기나 로그인 확인처럼 여러 단계가 필요한 작업에 OpenClaw의 브라우저 도구를 사용하는 방법을 보여 줍니다. 에이전트가 웹사이트에서 작업을 대신하도록 하고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓에이전트가 웹사이트를 열어 여러 단계의 작업을 완료하기를 원할 때.
  • ✓작업 전에 사이트에 로그인되어 있는지 확인해야 할 때.
  • ✓브라우저 작업이 멈추거나 페이지 요소를 더 이상 찾을 수 없을 때.

스킬 링크

https://github.com/openclaw/openclaw/blob/main/extensions/browser/skills/browser-automation/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/openclaw/openclaw/blob/main/extensions/browser/skills/browser-automation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 온라인 스토어 대시보드를 열어서 오늘 주문이 표시되는지 확인하고, 총액을 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 먼저 브라우저 상태를 확인하고, 올바른 탭을 추적하며, 클릭하기 전에 페이지를 읽습니다. 단계가 시간 초과되거나 요소가 오래되면 화면을 새로 고쳐 다시 시도합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Browser Automation

Use this skill when you need the browser tool for anything beyond a single page check.

Operating Loop

  1. Check browser state before acting:
    • openclaw browser doctor or action="status" when the browser/plugin setup itself may be broken.
    • action="status" for availability.
    • action="profiles" if login state or profile choice matters.
    • action="tabs" before opening a new tab if retries/timeouts may have left windows behind.
  2. Prefer stable tab handles:
    • Open important tabs with label, for example label="meet".
    • After action="tabs" or action="open", store suggestedTargetId and pass it as targetId in later calls.
    • suggestedTargetId is the label when one exists, otherwise the stable tabId handle like t1.
    • Avoid relying on raw DevTools targetId except for immediate diagnostics; it can change under Chromium target replacement.
  3. Read before you click:
    • For “read the page and answer X,” use action="text" with optional selector and maxChars for bounded visible prose (first selector match, otherwise article/main/body). On existing-session profiles, use snapshot instead. Efficient snapshots omit most prose.
    • For virtualized lists, scroll through each segment, capture only the relevant rows, then merge the results.
    • Use action="snapshot" on the intended targetId.
    • Add snapshot query to find lines containing all query tokens, ignoring case; matching lines keep their refs.
    • Use the same targetId for follow-up actions so refs stay on the same tab.
    • For durable Playwright refs, request refs="aria" when supported. If you receive axN refs from snapshotFormat="aria", use them only after that same snapshot call; stale or unbound axN refs fail fast and need a fresh snapshot.
    • Use urls=true when link text is ambiguous or a direct navigation target would avoid brittle clicks.
    • Use labels=true on snapshot or screenshot when visual position matters. On Playwright-backed profiles, the response includes an annotations array ({ref, number, role, name?, box}) with each ref's bounding box in the captured image's coordinate space, so you can reason about position without re-snapshotting; screenshot labels can also combine with fullPage=true (CLI: --full-page) to label the whole document, or ref / element to clip to one element. profile="user" and other existing-session (chrome-mcp) profiles render an overlay into page screenshots but do not attach annotations or use the Playwright full-page/ref/element projection helper, so read positions from the labeled image itself on those profiles. The raw-CDP fallback (no Playwright) does not support labeled screenshots at all and returns a 501, so only request labels when Playwright is available.
  4. Act narrowly:
    • Prefer action="act" with a ref from the latest snapshot.
    • navigate returns the loaded page's compact snapshot inline, and batch act results that report a cross-document navigation include fresh page state; use those refs directly instead of a follow-up snapshot call.
    • After a single act that triggers navigation, and after modal changes or form submissions, snapshot again before the next action.
    • Avoid blind waits. Wait for visible UI state when possible.
    • Use action="emulate" with device, colorScheme, timezoneId, or locale when testing those settings; snapshot again afterward. Existing-session profiles do not support emulation.
  5. Report real blockers:
    • Debug network failures with action="requests", optional URL/type filter, and limit (default 50 recent entries). clear=true clears the collected log after reading. Use a managed profile; existing-session profiles do not support this log.
    • Debug page errors with action="errors" and limit (default 50 recent entries). clear=true clears the collected log after reading. Existing-session profiles do not support this log.
    • If the page needs login, permission, captcha, 2FA, camera/microphone approval, or another manual step, stop and tell the user exactly what is needed.
    • Do not claim the browser is not logged in just because the current page shows a permission or onboarding dialog. Inspect the visible UI first.

Browser batch CLI

openclaw browser batch runs an array of nested /act actions in one /act call (the same kind="batch" runtime reached through the agent tool), so CLI users and scripts can combine actions lik

자주 묻는 질문

로그인 상태를 유지하나요?

로그인 상태를 확인하고 브라우저 프로필을 고를 수 있으므로, 이미 로그인된 사이트는 로그인 상태를 유지할 수 있습니다.

오류 후 열린 탭이 남아 있으면 어떻게 하나요?

스킬은 먼저 열린 탭을 나열하므로, 탭을 더 열지 않고 알맞은 탭을 재사용할 수 있습니다.

긴 페이지도 읽을 수 있나요?

네. 페이지에서 정해진 양의 텍스트를 읽을 수 있고, 긴 목록은 여러 부분으로 나누어 처리합니다.

상세 정보

작성자의 원본 설명

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

repo: openclaw/openclaw

인기도

GitHub 스타
394k
순위
#14
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬