# Enact/playwright

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

- Skill: `majiayu000/enact-playwright` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/enact-playwright`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/enact-playwright/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/enact-playwright

---

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

