Enactplaywright

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

tomevault-io 1b84d39 2 files · 1.5 KB Updated

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 ./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 — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/while-basic--enact-template--playwright commit 1b84d39269

Frequently asked questions

npx skillmds@latest add tomevault-io/enactplaywright