Agent skill

playwright

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

Stars 18
Forks 4

Install this agent skill to your Project

npx add-skill https://github.com/EnactProtocol/enact/tree/main/tools/playwright

SKILL.md

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

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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results