All skills
openai avatar

/playwright

@a898061
by openaiopenai/openai-agents-python30k stars
4,840

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

  • 1 file
  • 718 B
  • Updated 3 months ago
  • GitHub

Use this Skill: https://skilld.dev/gh/openai/openai-agents-python/playwright

This session only. Nothing lands on disk.

SKILL.md

≈24 tokens always: the name and description. ≈148 when used: this file.

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.

Source: SKILL.md on GitHub

No third-party reports yet.

Signed by skilld at a898061. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago

README badge

README badge for openai/openai-agents-python/playwright