Proposal: let an MCP client label its own tab group (browser_set_group_label)
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Motivation
Once multiple simultaneous MCP client connections are supported (#41838), a user running several
agents at once against the same browser has no easy way to tell which Chrome tab group belongs to
which task or agent - each just shows as "Playwright" (or "Playwright · " under
#41838), which isn't always meaningful (e.g. several connections from the same client name/tool,
or a generic name that doesn't describe the task).
This is also mildly useful even with a single connection - a user can see at a glance what an
agent is currently working on from the tab group's title, without switching to the agent's
terminal/window.
Proposed tool
A new MCP tool, browser_set_group_label, letting an agent set a short custom label for its own
connection's tab group early in a task:
browser_set_group_label({ label: "checkout flow bug" })
This renames the connection's tab group to Playwright · <label> (deduplicated with a (2),
(3)... suffix if another active connection already used that exact label). The tool's own
description would suggest calling it once, early, especially when the user might be running the
agent alongside others - since MCP tools are discovered by their description, not by hardcoded
client-side instructions.
Scope
Touches both the extension (packages/extension, applying the label to the actual Chrome tab
group) and the server (packages/playwright-core/src/tools, a new MCP tool + a small new
session-level protocol command distinct from the existing CDP-passthrough commands). No protocol
version bump needed if kept backward compatible with clients that don't call it.
I have a working implementation and test coverage for this already, built on top of the
multi-connection work in #41838 (though the tool would still have narrow value even without it,
for the "what is this agent doing" case). Wanted to check whether this is a direction the team
would want before opening a PR, per the contribution guidelines - happy to adjust the shape of the
tool (naming, whether it belongs in core capability, etc.) based on feedback.
- Ngôn ngữ chính
- TypeScript
- Star
- 99.1k
- Fork
- 6.8k
- Merge trung bình
- 15 giờ 48 phút
- Pull request đã merge (30 ngày)
- 322
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/playwright
-
[Bug]: getByLabel (and accessible name) ignore <label> for form-associated custom elementsCó thể đã có người làm @microsoft-playwright-automation đã nhận 1 ngày trước. Đang mởneeds-triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
microsoft/playwright#43898 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature]: Option to make all locators ignore hidden elements by defaultCó thể đã có người làm @microsoft-playwright-automation đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
microsoft/playwright#43855 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature]: Configure web servers per projectCó thể đã có người làm @microsoft-playwright-automation đã nhận 3 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
microsoft/playwright#43853 · 4 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature]: Extend isVisible/toBeVisible API to include overlap detectionCó thể đã có người làm @microsoft-playwright-automation đã nhận 3 ngày trước. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
microsoft/playwright#43849 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: connectOverCDP: a tab whose main frame was swapped in by a prerender never initializes, and title()/evaluate() hang forever (default Chrome/Edge settings)Có thể đã có người làm @dgozman đã nhận 3 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoft/playwright#43842 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/playwright
Issue tương tự
-
unwrapDatabaseError masks real DB errors with TypeError: Cannot convert object to primitive valueĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
NEARBuilders/everything-dev#798 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vercel-labs/durable-harness#53 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Redesign tab bars ignore clicks on Linux: hidden chat layers keep window drag regionsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
experiência: a doc manda subir para o Micro do Supabase, mas não diz que exige plano pago nem quanto custaCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea/docs area/ui enhancement
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
melgarafael/DeskcommCRM#4098 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
dependencies platform: ios
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
software-mansion/react-native-executorch#1617 ·
Maintainer thường phản hồi trong vòng 1 ngày