Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

manikantasai-playwright-automation

bởi manikantasai1987

Web & Frontend Development
823Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Browser automation using Playwright API directly.

Mô tả

Kỹ năng này làm gì

Browser automation using the Playwright API directly. Supports navigating websites, interacting with page elements, extracting data, taking screenshots, generating PDFs, and recording videos.

Direct API use avoids the overhead and reliability issues of MCP-based browser automation.

Khi nào nên dùng

  • Scraping product prices from e-commerce sites
  • Automating login and form submission flows
  • Capturing full-page screenshots for visual regression
  • Generating PDF reports from web dashboards
  • Recording browser sessions for QA documentation

Quy trình ví dụ

ĐẦU VÀO

User asks: extract all product names and prices from a paginated table

AGENT
  1. 1

    Launch a headless Chromium browser

  2. 2

    Navigate to the target URL and wait for the table to load

  3. 3

    Use page.$$eval to iterate table rows and extract text from each cell

  4. 4

    Handle pagination by clicking the next button and repeating extraction

  5. 5

    Aggregate results and return as structured data

ĐẦU RA

Array of objects with name and price fields for each product row

Cài đặt

clawhub install manikantasai1987/manikantasai-playwright-automation

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết