enact-playwright
// Browser automation tool using Playwright - captures screenshots and extracts content from web pages
$ git log --oneline --stat
stars:194
forks:37
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
nameenact-playwright
version1.0.0
descriptionBrowser automation tool using Playwright - captures screenshots and extracts content from web pages
frommcr.microsoft.com/playwright:v1.50.0-noble
buildcd /workspace && npm init -y && npm install playwright-core
commandnode /workspace/run.js '${url}' '${action}' '${selector}'
timeout600s
inputSchema[object Object]
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"}'