Proposal: let an MCP client label its own tab group (browser_set_group_label)
I maintainer di solito rispondono entro 1 giorno
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 99.1k
- Fork
- 6.8k
- Merge medio
- 15h 48m
- PR unite (30g)
- 322
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/playwright
-
[Bug]: getByLabel (and accessible name) ignore <label> for form-associated custom elementsForse già presa @microsoft-playwright-automation l’ha presa 1 giorno fa. Apertaneeds-triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
microsoft/playwright#43898 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature]: Option to make all locators ignore hidden elements by defaultForse già presa @microsoft-playwright-automation l’ha presa 1 giorno fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
microsoft/playwright#43855 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature]: Configure web servers per projectForse già presa @microsoft-playwright-automation l’ha presa 3 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
microsoft/playwright#43853 · 4 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature]: Extend isVisible/toBeVisible API to include overlap detectionForse già presa @microsoft-playwright-automation l’ha presa 3 giorni fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
microsoft/playwright#43849 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: connectOverCDP: a tab whose main frame was swapped in by a prerender never initializes, and title()/evaluate() hang forever (default Chrome/Edge settings)Forse già presa @dgozman l’ha presa 3 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/playwright#43842 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/playwright
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vercel-labs/durable-harness#53 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Redesign tab bars ignore clicks on Linux: hidden chat layers keep window drag regionsForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
experiência: a doc manda subir para o Micro do Supabase, mas não diz que exige plano pago nem quanto custaForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaarea/docs area/ui enhancement
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
melgarafael/DeskcommCRM#4098 ·
I maintainer di solito rispondono entro 1 giorno
-
bug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
kerti/balances-v2#801 ·
I maintainer di solito rispondono entro 1 giorno
-
lesson-submission pending-review
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
Ikalus1988/MisakaNet#4510 ·
I maintainer di solito rispondono entro 1 giorno