enact/playwright
Browser automation tool using Playwright - captures screenshots and extracts content from web pages
$ インストール
git clone https://github.com/EnactProtocol/enact /tmp/enact && cp -r /tmp/enact/test-tools/playwright ~/.claude/skills/enact// tip: Run this command in your terminal to install the skill
SKILL.md
name: enact/playwright version: 1.0.0 description: Browser automation tool using Playwright - captures screenshots and extracts content from web pages from: mcr.microsoft.com/playwright:v1.50.0-noble build:
- cd /workspace && npm init -y && npm install playwright-core
command: node /workspace/run.js '${url}' '${action}' '${selector}'
timeout: 600s
inputSchema:
type: object
properties:
url:
type: string
description: The URL to navigate to
action:
type: string
description: Action to perform (screenshot, text, html)
default: text
enum:
- screenshot
- text
- html
selector:
type: string
description: Optional CSS selector to target specific element
default: body
required:
- url
Playwright Browser Automation
A browser automation tool that uses Playwright to interact with web pages.
Features
- Navigate to any URL
- Take screenshots
- Extract text content
- Extract HTML content
- Target specific elements with CSS selectors
Usage
# Get text content from a page
enact run enact/playwright --args '{"url": "https://example.com"}'
# Take a screenshot
enact run enact/playwright --args '{"url": "https://example.com", "action": "screenshot"}'
# Extract text from a specific element
enact run enact/playwright --args '{"url": "https://example.com", "selector": "h1"}'
Repository

EnactProtocol
Author
EnactProtocol/enact/test-tools/playwright
10
Stars
1
Forks
Updated2d ago
Added5d ago