diff --git a/README.md b/README.md index 891bbd7..1845e6a 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Webwright gives LLM a terminal where it can launch multiple browser sessions to inspect the page and complete a web task. It captures and inspects page screenshots/states only when needed. It enforces each web task to be completed end-to-end within a re-runnable Python script, i.e. your web agent browsing history is a single code file. No multi-agent system, no graph engine, no plugin layer, no hidden orchestration — just a terminal, a browser, and a model. -Already got your favorite agents, and wonder how to make Claude Code, Codex, Hermes, OpenClaw more capable in browser tasks? Consider adding [Webwright plugin/skills](#-use-as-a-claude-code-skill)! +Already got your favorite agents, and wonder how to make Claude Code, Codex, Hermes, OpenClaw more capable in browser tasks? Consider adding [Webwright plugin/skills](#-use-as-a-plugin)! --- @@ -205,6 +205,7 @@ python -m webwright.run.cli \ | `--start-url` | Initial page. | | `--task-id` | Output subfolder name. | | `-o` | Output directory. | +| `--debug` | Launch headed local Playwright with devtools and keep it open for inspection. | --- diff --git a/assets/task_showcase/README.md b/assets/task_showcase/README.md index 872e7cc..311315b 100644 --- a/assets/task_showcase/README.md +++ b/assets/task_showcase/README.md @@ -18,13 +18,23 @@ just dropping in a new folder with those two files. ## Run +From the repository root: + +```bash +pip install flask +python assets/task_showcase/app.py # serves http://127.0.0.1:5005 +``` + +Or from this directory: + ```bash pip install flask python app.py # serves http://127.0.0.1:5005 ``` To render JSON generated by a Webwright run without copying it back into this -folder, point the app at that run's generated tasks directory: +folder, point the app at that run's generated tasks directory. From this +directory, use: ```bash python app.py --tasks-dir ../../outputs/default//task_showcase/tasks