Agent Skills: Playwright Browser Automation

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

UncategorizedID: EnactProtocol/enact/playwright

Install this agent skill to your local

pnpm dlx add-skill https://github.com/EnactProtocol/enact/tree/HEAD/tools/playwright

Skill Files

Browse the full folder contents for playwright.

Download Skill

Loading file tree…

tools/playwright/SKILL.md

Skill Metadata

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

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 -a '{"url": "https://example.com"}'

# Take a screenshot
enact run enact/playwright -a '{"url": "https://example.com", "action": "screenshot"}'

# Extract text from a specific element
enact run enact/playwright -a '{"url": "https://example.com", "selector": "h1"}'