Skip to main content

playwright

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

来源信息

仓库
openai/openai-agents-python
最近来源活动
2026年7月4日 00:04
检测到的 SKILL.md 语言
英语
星标
29,842
分支
4,845

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

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.
在 GitHub 查看