ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

playwright-ws

Browser automation via remote Playwright WebSocket server for screenshots, PDFs and testing.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/first-it-consulting/playwright-ws
Or

Playwright Skill

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

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

Metadata

Stars2387
Views0
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-first-it-consulting-playwright-ws": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.