feat(browser_eval): support 'chromium' browser (Linux arm64)#143
Merged
Conversation
On platforms where the only available Chrome build is Chromium (e.g. Linux arm64), the browser_eval tool couldn't be used because the browser enum only accepted chrome/firefox/webkit/msedge. @playwright/mcp accepts '--browser chromium' (it resolves to the chrome-for-testing build). Verified end-to-end against @playwright/mcp@0.0.75: started the server with '--browser chromium' and a browser_navigate call launched and loaded a page successfully. Add 'chromium' to the browser enum (tool input schema + arg type) and the manager option type; it is forwarded as '--browser chromium'. Fixes #123
feedthejim
approved these changes
Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
On platforms where the only available Chrome build is Chromium (e.g. Linux arm64, per #123),
browser_evalcan't be used — thebrowserenum only acceptedchrome | firefox | webkit | msedge.Fix
Add
chromiumto thebrowserenum (tool input schema + arg type) and the manager option type. It's forwarded to Playwright MCP as--browser chromium.Verification (end-to-end, not just types)
Tested against the real
@playwright/mcp@0.0.75(current@latest) via MCP:--browser chromiumis recognized → resolves to thechrome-for-testingbuild.--browser chromiumand issued abrowser_navigatecall → launched and loaded the page successfully (isError: undefined).Plus:
pnpm typecheck✅pnpm build✅pnpm test✅ (38/38).Fixes #123