Search

PythonReactSEOPDF
OpenClaw

playwright-ws

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

first-it-consulting0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install first-it-consulting/playwright-ws

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Playwright Skill

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

Use Cases

Task Script Description
Screenshot scripts/screenshot.js Capture screenshots of web pages
PDF scripts/pdf-export.js Generate PDFs from URLs
Test scripts/test-runner.js Run 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

Source information

Source
github
Repository
openclaw/skills
Path
skills/first-it-consulting/playwright-ws
Version
—
Commit
1626273b09284cb7015219729d88fce5d4567756
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

🎭 Playwright Skill for OpenClaw

License: MIT Node.js Playwright

Remote browser automation for OpenClaw agents. No local browser installation required.

✨ Features

  • 📸 Screenshots – Capture full-page or viewport screenshots via remote server
  • 📄 PDF Export – Generate PDFs from any URL
  • 🧪 Test Runner – Execute Playwright tests on remote infrastructure
  • 🌐 Multi-browser – Chromium, Firefox, WebKit support
  • 🔧 Zero Install – No local browsers needed

🚀 Quick Start

1. Configure WebSocket URL
export PLAYWRIGHT_WS=ws://your-playwright-server:3000
2. Take a Screenshot
node scripts/screenshot.js https://example.com screenshot.png
node scripts/screenshot.js https://example.com screenshot.png --full-page
node scripts/screenshot.js https://example.com screenshot.png --wait-for=".loaded" --delay=1000
3. Generate PDF
node scripts/pdf-export.js https://example.com page.pdf
node scripts/pdf-export.js https://example.com page.pdf --format=A4 --landscape
4. Run Tests
node scripts/test-runner.js
node scripts/test-runner.js --headed --project=chromium

📋 Requirements

  • Node.js 18+
  • Remote Playwright server running
  • Environment variable PLAYWRIGHT_SERVER set

🔧 Installation

# Clone the skill
git clone https://github.com/first-it-consulting/playwright-skill.git
cd playwright-skill

# Install dependencies
npm install

📚 API Reference

Your Playwright server must expose a WebSocket endpoint for browser connections:

WS ws://your-server:3000/
Environment Variables
Variable Default Description
PLAYWRIGHT_WS ws://localhost:3000 WebSo...

Extracted content

SKILL.md
# Playwright Skill

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

## Use Cases

| Task | Script | Description |
|------|--------|-------------|
| Screenshot | `scripts/screenshot.js` | Capture screenshots of web pages |
| PDF | `scripts/pdf-export.js` | Generate PDFs from URLs |
| Test | `scripts/test-runner.js` | Run Playwright tests remotely |

## Installation

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

## Quick Start

```bash
# 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:

```bash
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
README
# 🎭 Playwright Skill for OpenClaw

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Node.js](https://img.shields.io/badge/Node.js-18%2B-green)](https://nodejs.org/)
[![Playwright](https://img.shields.io/badge/Playwright-1.40%2B-blue)](https://playwright.dev/)

> Remote browser automation for OpenClaw agents. No local browser installation required.

## ✨ Features

- 📸 **Screenshots** – Capture full-page or viewport screenshots via remote server
- 📄 **PDF Export** – Generate PDFs from any URL
- 🧪 **Test Runner** – Execute Playwright tests on remote infrastructure
- 🌐 **Multi-browser** – Chromium, Firefox, WebKit support
- 🔧 **Zero Install** – No local browsers needed

## 🚀 Quick Start

### 1. Configure WebSocket URL

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

### 2. Take a Screenshot

```bash
node scripts/screenshot.js https://example.com screenshot.png
node scripts/screenshot.js https://example.com screenshot.png --full-page
node scripts/screenshot.js https://example.com screenshot.png --wait-for=".loaded" --delay=1000
```

### 3. Generate PDF

```bash
node scripts/pdf-export.js https://example.com page.pdf
node scripts/pdf-export.js https://example.com page.pdf --format=A4 --landscape
```

### 4. Run Tests

```bash
node scripts/test-runner.js
node scripts/test-runner.js --headed --project=chromium
```

## 📋 Requirements

- Node.js 18+
- Remote Playwright server running
- Environment variable `PLAYWRIGHT_SERVER` set

## 🔧 Installation

```bash
# Clone the skill
git clone https://github.com/first-it-consulting/playwright-skill.git
cd playwright-skill

# Install dependencies
npm install
```

## 📚 API Reference

Your Playwright server must expose a WebSocket endpoint for browser connections:

```
WS ws://your-server:3000/
```

### Environment Variables

| Variable | Default | Description |
|----------|---------|-------------|
| `PLAYWRIGHT_WS` | `ws://localhost:3000` | WebSo...

Related skills

OpenClaw

openbotx

openbotx

An open-source platform for orchestrating AI agents — secure, simple, and built for everyone. Multi-agent, real-time task board, web control panel, skills system, browser automation, multi-provider, scheduler,...

OpenClaw

agent-pack-n-go

aicodelion

🚀 Clone your OpenClaw AI Agent to a new device in ~25 minutes — configs, memory, skills, everything.

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

cacheforge-skills

cacheforge-ai

⚡ SOTA agent skills for OpenClaw — observability, security, code quality, incident response, and more. Built by Anvil AI.