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

webcli

bởi erdinccurebal

Web & Frontend Development
460Lượ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

Browse the web, read page content, click buttons, fill forms, take screenshots, and get accessibility snapshots.

Mô tả

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

webcli is a headless browser CLI tool that lets agents navigate websites, read page content, interact with elements, and capture screenshots or PDFs. It runs a persistent browser daemon and exposes commands for clicks, form fills, accessibility snapshots, and JavaScript evaluation.

Unlike raw Playwright scripts, webcli exposes browser control as simple shell commands that an AI agent can chain without writing or managing code files.

Khi nào nên dùng

  • Scraping product prices from an e-commerce site
  • Filling and submitting a web form automatically
  • Taking screenshots of a dashboard for reporting
  • Logging into a web app and extracting account data
  • Testing a web UI flow without writing Playwright code

Quy trình ví dụ

ĐẦU VÀO

User asks: go to example.com/login, log in with my credentials, and screenshot the dashboard

AGENT
  1. 1

    Run webcli go https://example.com/login

  2. 2

    Run webcli snapshot to get accessibility refs for the email and password fields

  3. 3

    Run webcli fill @e1 'user@example.com' and webcli fill @e2 'password123'

  4. 4

    Run webcli click 'Log in' then webcli sleep 1500

  5. 5

    Run webcli screenshot -o dashboard.png to capture the result

ĐẦU RA

Screenshot saved to dashboard.png showing the authenticated dashboard page

Yêu cầu

  • npx playwright install chromium (one-time browser binary install)

Cài đặt

clawhub install erdinccurebal/webcli

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