بنقرة واحدة
playwright
// Use when the task requires capturing or automating a real browser from the terminal.
// Use when the task requires capturing or automating a real browser from the terminal.
Decide how to implement runtime and API changes in openai-agents-python before editing code. Use when a task changes exported APIs, runtime behavior, serialized state, tests, or docs and you need to choose the compatibility boundary, whether shims or migrations are warranted, and when unreleased interfaces can be rewritten directly.
Run python examples in auto mode with logging, rerun helpers, and background control.
Fix the tiny credit-note formatting bug and rerun the exact targeted test command.
Build a concise prior authorization packet from local case files and payer policy docs.
Run the mandatory verification stack when changes affect runtime code, tests, or build/test behavior in the OpenAI Agents Python repository.
Create the required PR-ready summary block, branch suggestion, title, and draft description for openai-agents-python. Use in the final handoff after moderate-or-larger changes to runtime code, tests, examples, build/test configuration, or docs with behavior impact; skip only for trivial or conversation-only tasks, repo-meta/doc-only tasks without behavior impact, or when the user explicitly says not to include the PR draft block.
| name | playwright |
| description | Use when the task requires capturing or automating a real browser from the terminal. |
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.