/run
Run a one-shot web task with the Webwright Playwright workflow.
> /plugin marketplace add microsoft/Webwright > /plugin install webwright@webwright
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/run
Context preview
What this command does when you run it.
Run a one-shot web task with the Webwright Playwright workflow.
Command definition
run.mddescription: Run a one-shot web task with the Webwright Playwright workflow. argument-hint: <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:
1. Pick a `WORKSPACE_DIR` and write `plan.md` with a numbered list of critical points. 2. Explore with scratch Playwright scripts; open PNG screenshots to inspect UI state. 3. Author and run an instrumented `final_script.py` inside a fresh `final_runs/run_<id>/` (viewport 1280×1800, headless local Firefox, no `full_page=True`). 4. Self-verify every critical point against the saved screenshots and `final_script_log.txt`. Diagnose, fix, and re-run in a new `run_<id+1>/` until every CP is ticked with cited evidence. 5. 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.
Turn Your Coding Models to Be State-of-the-art Browser Agents 📝 Blog: Webwright: A Terminal Is All You Need For Web Agents 🌐 Project Page: microsoft.github.io/Webwright Webwright gives LLM a terminal where it can launch multiple browser sessions to inspect

