playwright

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

Install
npx skills add 'https://github.com/openai/openai-agents-python/tree/main/examples/sandbox/tutorials/vision_website_clone/skills/playwright'
Download bundle ↓
main · 1d17ca4Scanned 2026-09-17

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗

SKILL.md

SKILL.mdBrowse 1 file
View on GitHub

Playwright

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

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.

Discovery context

Discovered by repository scan. No exact path reference found in the snapshot’s root AGENTS.md.