← 返回
开发者工具 中文

Playwright WS

Browser automation via remote Playwright WebSocket server for screenshots, PDFs and testing.
通过远程 Playwright WebSocket 服务器实现浏览器自动化,支持截图、PDF 生成和测试。
first-it-consulting
开发者工具 clawhub v1.0.3 3 版本 99863.6 Key: 无需
★ 0
Stars
📥 732
下载
💾 32
安装
3
版本
#latest

概述

Playwright Skill

Remote browser automation via Playwright WebSocket server. No local browser installation required.

> Privacy notice: The configured WebSocket server can observe all requested URLs, page contents, screenshots, and test interactions. Use only a Playwright server you control or fully trust, and avoid routing sensitive sites through untrusted infrastructure.

Use Cases

TaskScriptDescription
---------------------------
Screenshotscripts/screenshot.jsCapture screenshots of web pages
PDFscripts/pdf-export.jsGenerate PDFs from URLs
Testscripts/test-runner.jsRun Playwright tests remotely

Installation

cd playwright-skill
npm install
export PLAYWRIGHT_WS=ws://your-server:3000

Quick Start

# Screenshot
node scripts/screenshot.js https://example.com screenshot.png --full-page

# PDF
node scripts/pdf-export.js https://example.com page.pdf

Configuration

Set PLAYWRIGHT_WS environment variable to your Playwright WebSocket URL:

export PLAYWRIGHT_WS=ws://your-playwright-server:3000

Scripts

  • screenshot.js - Take screenshots with options
  • pdf-export.js - Generate PDFs
  • test-runner.js - Run remote tests

References

  • references/selectors.md - Selector strategies
  • references/api-reference.md - API documentation

版本历史

共 3 个版本

  • v1.0.3 当前
    2026-05-03 03:47 安全 安全
  • v1.0.0
    2026-03-30 14:58 安全 安全
  • v1.0.2
    2026-03-18 19:34 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,634
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,550

FRITZ!Box

first-it-consulting
通过 TR-064 和 Web API 控制 AVM FRITZ!Box 路由器及智能家居设备。适用于用户希望管理其 FRITZ!Box路由器(WLAN、已连接设备等)
★ 0 📥 361