Skip to content
Back to skills

Playwright

ASecurity

Use when the task requires capturing or automating a real browser from the terminal.

  • 31,001 stars
  • 0 votes
  • 1 copy
  • 25 views
  • Added September 4, 2026
ai-agents

Works with

  • terminal

Security analysis

A100/100

Scanned September 4, 2026

npx -y skills add openai/openai-agents-python --skill playwright --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Playwright?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Playwright
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openai-playwright/badge)](https://www.skillsdirectory.com/skills/openai-playwright)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "playwright"
description: "Use when the task requires capturing or automating a real browser from the terminal."
---

# Playwright

Use Playwright to capture the static site directly. Do not start a server for this example.

```sh
mkdir -p output/screenshots output/playwright/.tmp
export TMPDIR="$PWD/output/playwright/.tmp"
export TEMP="$TMPDIR"
export TMP="$TMPDIR"
npx --yes --package playwright@1.50.0 playwright install chromium
npx --yes --package playwright@1.50.0 playwright screenshot \
  --browser=chromium \
  --viewport-size=2048,1152 \
  "file://$PWD/output/site/index.html" \
  output/screenshots/draft-1.png
```

Change the final path to `output/screenshots/draft-2.png` for the second pass.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.