Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

client-smoke: drive the Inspector web UI with Playwright instead of calling it hand-only

Đang mở Phù hợp với người mới
#5,170 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, playwright
Lĩnh vực
documentation, testing

Hướng nghiên cứu

Tìm skill client-smoke và cập nhật phần giao diện web Inspector bằng các chi tiết trong issue về khởi chạy, kết nối, lựa chọn, kết quả, elicitation, cách ly và thời kỳ. Trước tiên, kiểm tra các phiên bản Inspector và Playwright được ghim trong công thức CLI hiện có. Công việc hoàn tất khi hướng dẫn giao diện web cung cấp công thức Playwright có phiên bản được ghim, bao quát cả hai thời kỳ của giao thức và những khác biệt đã nêu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

documentation v2

The client-smoke skill says the Inspector web UI is "the hand-driven path. It needs a person at a browser; this repo configures no browser automation". So an agent defers elicitation, sampling, URL-elicitation, progress and tasks checks to a maintainer. During the v2.0.0 release, that left those round-trips unverified and listed as a ledger finding.

They don't need a person. The v2.0.0 ledger drove Inspector 2.11.0's web UI with Playwright (headless Chromium) in both eras: 11 scenarios in legacy and 15 in modern, including the tasks tools.

Change

Replace the web UI section's "by hand" framing with a Playwright recipe:

  • Launch: start --web --protocol-era legacy|modern, and read the tokenized URL from stdout.
  • Connect: the Mantine switch needs check({ force: true }). Screen tabs are reached by clicking label[for$="-Tools"].
  • Selects: a Mantine Select is read-only. Click it, then press ArrowDown and Enter.
  • Results: the panel's heading is "Results", or "Tool Call Failed" for a tool error.
  • URL elicitation: "I've completed it" appears only after "Open in Browser", which opens a popup page.
  • Multi-step elicitation: the open dialog is reused between steps, so wait for its text to change, not for it to close.
  • Isolation: use one fresh page and connection per scenario.
  • Era differences: in legacy, trigger-url-elicitation errorPath=true shows two dialogs (the -32042 path, then the retry). Modern shows one.

Keep the version pins (Inspector, Playwright) in the recipe, as the CLI section does.

Ngôn ngữ chính
TypeScript
Star
91.4k
Fork
11.8k
Merge trung bình
7 giờ 51 phút
Pull request đã merge (30 ngày)
121

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của modelcontextprotocol/servers

Tất cả issue của modelcontextprotocol/servers

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.