Enact/playwright

Browser automation tool using Playwright - captures screenshots and extracts content from web pages

majiayu000 Updated 567 repo stars

File contents

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"}'

majiayu000/claude-skill-registry-data/tree/main/productivity/enactplaywright commit 89b0cab195

Frequently asked questions

npx skillmds@latest add majiayu000/enact-playwright