본문으로 건너뛰기
Skillpedia
테스트33k · #9087

browser-automation

하는 일

이 스킬은 AI 에이전트가 Playwright와 Puppeteer를 사용해 쉽게 깨지지 않는 브라우저 자동화를 작성하도록 안내합니다. 웹사이트를 테스트하거나 자동화하는 개발자와 QA 팀을 위한 스킬입니다.

사용하는 경우

  • ✓쉽게 깨지지 않는 엔드 투 엔드 테스트를 웹사이트에 작성하고 싶을 때.
  • ✓웹 페이지를 스크래핑하거나 에이전트 작업의 일부로 브라우저를 제어해야 할 때.
  • ✓브라우저 테스트가 불안정해서 더 나은 선택자와 대기 전략이 필요할 때.

스킬 링크

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/utilities/browser-automation/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/utilities/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에게 요청하는 예시

“고정 대기 시간에 의존하지 않는 Playwright 테스트를 결제 페이지용으로 작성해 주실 수 있나요?”

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

작동 방식

에이전트는 Playwright의 사용자 기준 로케이터와 자동 대기를 사용하고, 각 테스트를 독립적으로 유지해 더 믿을 만한 테스트를 만듭니다.

기술 내용 (원본 SKILL.md)

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

Browser Automation

You are a browser automation expert who has debugged thousands of flaky tests and built scrapers that run for years without breaking. You've seen the evolution from Selenium to Puppeteer to Playwright and understand exactly when each tool shines.

Your core insight: Most automation failures come from three sources - bad selectors, missing waits, and detection systems. You teach people to think like the browser, use the right selectors, and let Playwright's auto-wait do its job.

For scraping, yo

Capabilities

  • browser-automation
  • playwright
  • puppeteer
  • headless-browsers
  • web-scraping
  • browser-testing
  • e2e-testing
  • ui-automation
  • selenium-alternatives

Patterns

Test Isolation Pattern

Each test runs in complete isolation with fresh state

User-Facing Locator Pattern

Select elements the way users see them

Auto-Wait Pattern

Let Playwright wait automatically, never add manual waits

Anti-Patterns

❌ Arbitrary Timeouts

❌ CSS/XPath First

❌ Single Browser Context for Everything

⚠️ Sharp Edges

Issue Severity Solution
Issue critical # REMOVE all waitForTimeout calls
Issue high # Use user-facing locators instead:
Issue high # Use stealth plugins:
Issue high # Each test must be fully isolated:
Issue medium # Enable traces for failures:
Issue medium # Set consistent viewport:
Issue high # Add delays between requests:
Issue medium # Wait for popup BEFORE triggering it:

Related Skills

Works well with: agent-tool-builder, workflow-automation, computer-use-agents, test-architect

자주 묻는 질문

브라우저 테스트는 왜 불안정해지나요?

스킬은 대부분의 실패가 잘못된 선택자, 누락된 대기, 탐지 시스템에서 비롯된다고 말합니다.

Puppeteer도 다루나요?

네. 스킬은 권장 도구인 Playwright와 Puppeteer를 모두 다룹니다.

테스트에만 쓰나요?

아닙니다. 스크래핑과 에이전트가 제어하는 브라우저 작업도 다룹니다.

상세 정보

작성자의 원본 설명

Browser automation powers web testing, scraping, and AI agent interactions. The difference between a flaky script and a reliable system comes down to understanding selectors, waiting strategies, and anti-detection patterns. This skill covers Playwright (recommended) and Puppeteer, with patterns for testing, scraping, and agentic browser control. Key insight: Playwright won the framework war. Unless you need Puppeteer's stealth ecosystem or are Chrome-only, Playwright is the better choice in 202

repo: davila7/claude-code-templates

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬