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

playwright-headless-browser

bởi maverick-software

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

Set up headless browser automation in Clawdbot using Playwright Chromium.

Mô tả

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

Configures Playwright-managed Chromium for headless browser automation in WSL and Linux environments. Handles Chromium installation, system library dependencies, and Clawdbot browser configuration through setup scripts or manual steps.

Using Playwright-managed Chromium ensures the browser version is compatible with automation APIs, avoiding mismatches with system-installed Chrome.

Khi nào nên dùng

  • Setting up headless browser automation in WSL
  • Installing Chromium with correct system libraries on Ubuntu/Debian
  • Configuring Clawdbot to use a custom browser executable
  • Running browser automation in containerized Linux environments
  • Enabling web scraping or testing without a display server

Quy trình ví dụ

ĐẦU VÀO

User wants to enable headless browser automation in Clawdbot on WSL

AGENT
  1. 1

    Run ./scripts/setup.sh to install Playwright and Chromium

  2. 2

    Install libnss3 and libasound2 system libraries via apt-get

  3. 3

    Locate the installed Chromium binary under ~/.cache/ms-playwright

  4. 4

    Patch Clawdbot config with the Chromium path and headless settings

  5. 5

    Verify setup by running Chromium in headless mode against example.com

ĐẦU RA

Clawdbot is configured to use Playwright Chromium for headless browser automation

Cài đặt

clawhub install maverick-software/playwright-headless-browser

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