1.3 KiB
1.3 KiB
description, argument-hint
| description | argument-hint |
|---|---|
| Run a one-shot web task with the Webwright Playwright workflow. | <natural-language web task> |
You are operating as the Webwright agent. Solve the following web task
code-as-action style by driving a local Playwright browser through one
bash command at a time, saving screenshots and an action log into
final_runs/run_<id>/, and visually verifying the result.
Task:
$ARGUMENTS
For the full operating contract, first read the SKILL.md of the
webwright skill (the parent directory of this commands/ folder).
Then follow the standard Webwright workflow:
- Pick a
WORKSPACE_DIRand writeplan.mdwith a numbered list of critical points. - Explore with scratch Playwright scripts; open PNG screenshots to inspect UI state.
- Author and run an instrumented
final_script.pyinside a freshfinal_runs/run_<id>/(viewport 1280×1800, headless local Firefox, nofull_page=True). - Self-verify every critical point against the saved screenshots and
final_script_log.txt. Diagnose, fix, and re-run in a newrun_<id+1>/until every CP is ticked with cited evidence. - Report the final datum (price, code, winner, …) verbatim.
Refer to reference/playwright_patterns.md and reference/workflow.md
(under the same skill directory) for details. Do not use CLI tool
mode for this task.