新增 Playwright Claude Code plugin 安裝筆記
安裝 playwright@claude-plugins-official,新增獨立筆記並於 README、 SUMMARY、QUICKSTART 建立索引,與既有 Python 版 Playwright 筆記區分。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
13
SUMMARY.md
13
SUMMARY.md
@@ -9,6 +9,7 @@
|
||||
| MarkItDown | 文件轉換 | PDF/Office/音訊/YouTube → Markdown | Python / CLI / MCP | MIT |
|
||||
| MemPalace | 本地記憶庫 | 向量搜尋、階層式組織、LLM 壓縮 | Python / CLI / MCP | MIT |
|
||||
| Playwright (Python) | 瀏覽器自動化 | 多瀏覽器控制、E2E 測試、截圖/PDF | Python / CLI | Apache-2.0 |
|
||||
| Playwright Plugin | Claude Code 外掛 | 讓 Claude 直接操作瀏覽器(透過 MCP)| Claude Code / MCP | Apache-2.0 |
|
||||
|
||||
## MarkItDown
|
||||
|
||||
@@ -42,6 +43,18 @@
|
||||
- `pytest-playwright` 深度整合 pytest。
|
||||
- **適用時機**:E2E 測試、爬蟲、批次截圖/PDF、需要模擬真實瀏覽器行為的場景。
|
||||
|
||||
## Playwright Plugin (Claude Code)
|
||||
|
||||
- **一句話**:把 Microsoft 的 `@playwright/mcp` 包成 Claude Code 外掛,讓 Claude 自然語言操作瀏覽器。
|
||||
- **亮點**:
|
||||
- 官方 marketplace(`claude-plugins-official`)一鍵安裝。
|
||||
- 以 accessibility tree 互動,不依賴視覺模型,結果 deterministic。
|
||||
- 共用 Claude Code 的 session,無需寫 Python / JS 腳本。
|
||||
- 適合探索式任務:「開 X 網站,填欄位,擷取 Y」直接交給 Claude 跑。
|
||||
- **和 Python 版的分工**:
|
||||
- Python 版寫在專案裡做 CI / 長期腳本。
|
||||
- Plugin 版給 Claude 在對話中臨場操作。
|
||||
|
||||
## 三者如何一起用?
|
||||
|
||||
一個常見組合:
|
||||
|
||||
Reference in New Issue
Block a user