Lewati ke konten
TakoAPI
Kembali ke skill

playwright-browser-automation

oleh spiceman161

Web & Frontend Development
4.4kUnduhan dilaporkan oleh clawskills.sh
8Bintang
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Browser automation using Playwright API directly.

Deskripsi

Apa yang Dilakukan Skill Ini

Direct Playwright API for browser automation across Chromium, Firefox, and WebKit. Handles navigation, form interaction, data extraction, screenshots, PDF generation, and video recording. No MCP layer required.

Direct API access avoids MCP overhead and gives predictable automation with built-in auto-waiting and retry logic on element interactions.

Kapan Menggunakannya

  • Scraping product prices from e-commerce sites
  • Automating login and form submission workflows
  • Taking full-page screenshots for visual regression testing
  • Recording video walkthroughs of web app interactions
  • Extracting table data from paginated web reports

Contoh Alur Kerja

INPUT

User asks: Extract all product names and prices from a paginated e-commerce site

AGENT
  1. 1

    Launch Chromium in headless mode

  2. 2

    Navigate to the target URL and wait for page content to load

  3. 3

    Evaluate the DOM to extract product titles and prices into an array

  4. 4

    Click the next page button and repeat extraction until no further pages exist

  5. 5

    Return collected data as a structured JSON array

OUTPUT

JSON array of product names and prices from all paginated pages

Instalasi

clawhub install spiceman161/playwright-browser-automation

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan