# Enactplaywright

> Optional CSS selector to target specific element Use when this capability is needed.

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

---


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

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

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

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/while-basic) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-14 -->

