You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: prefer Claude Code Chrome over agent-browser for browser automation
- Rename agent-browser.md rule to browser-automation.md with Chrome as preferred tool
- Add detection logic: check for mcp__claude-in-chrome__* tools in deferred tools list
- Show fallback warning when Chrome extension is not available
- Update all commands (spec-plan, spec-verify, spec-implement, spec-bugfix-*) with
browser tool resolution step supporting both Chrome and agent-browser workflows
- Add Chrome Extension section to README, installation docs, and installer post-install
- Add Claude Code Chrome to open-source-tools docs as preferred testing tool
- Update verification.md, testing.md, settings.json references
- Move CodeGraph sync from hooks to launcher wrapper (codegraph.py)
- Refactor installer dependencies step with improved structure
- Clean up development-practices.md exploration tooling section
For the best browser automation and E2E testing experience, install the [Claude Code Chrome extension](https://code.claude.com/docs/en/chrome). Pilot automatically detects it and prefers it over agent-browser. In environments where the extension can't be installed (dev containers, headless CI), Pilot falls back to agent-browser automatically.
80
+
81
+
</details>
82
+
76
83
<details>
77
84
<summary><b>Installing a specific version or uninstalling</b></summary>
| 5 | Shell integration | Auto-configures bash, fish, and zsh with the `pilot` alias |
30
30
| 6 | VS Code extensions | Installs recommended extensions for your language stack |
31
31
| 7 | Finalize | Success message with next steps |
32
32
33
+
## Chrome Extension (Recommended)
34
+
35
+
For the best browser automation and E2E testing experience, install the [Claude Code Chrome extension](https://code.claude.com/docs/en/chrome). It provides richer visual context and more reliable interactions than the agent-browser fallback.
36
+
37
+
Pilot automatically detects the Chrome extension and uses it when available. In environments where the extension can't be installed (e.g., dev containers, headless CI), Pilot falls back to agent-browser automatically.
38
+
33
39
## Dev Container
34
40
35
41
Pilot Shell works inside Dev Containers. Copy the `.devcontainer` folder from the [Pilot Shell repository](https://github.com/maxritter/pilot-shell/tree/main/.devcontainer) into your project, adapt it to your needs (base image, extensions, dependencies), and run the installer inside the container. The installer auto-detects the container environment and skips system-level dependencies like Homebrew.
Copy file name to clipboardExpand all lines: docs/docusaurus/docs/workflows/spec.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ Investigation-first flow for targeted fixes. Finds the root cause before touchin
67
67
- Full test suite + type checking + lint + build verification
68
68
- Features: unified review sub-agent (optional, enabled by default)
69
69
- Bugfixes: regression test + full suite — no sub-agents needed
70
-
- For UI features: executes the plan's **E2E test scenarios** step-by-step via browser automation — tracks pass/fail per scenario, auto-fixes failures (up to 2 attempts), escalates persistent failures to known issues; results written back to the plan file
70
+
- For UI features: executes the plan's **E2E test scenarios** step-by-step via browser automation (Claude Code Chrome preferred, agent-browser as fallback) — tracks pass/fail per scenario, auto-fixes failures (up to 2 attempts), escalates persistent failures to known issues; results written back to the plan file
71
71
- Auto-fixes findings, loops back until all checks pass
72
72
- After automated checks pass, prompts you to **review code changes** in the Console's Changes tab — enable Review mode, add inline annotations on any diff line (they save automatically), and the agent addresses them before marking the spec as verified
0 commit comments