Skip to content

feat(browser_eval): support 'chromium' browser (Linux arm64)#143

Merged
gaojude merged 1 commit into
mainfrom
fix/browser-eval-chromium-support
Jun 1, 2026
Merged

feat(browser_eval): support 'chromium' browser (Linux arm64)#143
gaojude merged 1 commit into
mainfrom
fix/browser-eval-chromium-support

Conversation

@gaojude

@gaojude gaojude commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Problem

On platforms where the only available Chrome build is Chromium (e.g. Linux arm64, per #123), browser_eval can't be used — the browser enum only accepted chrome | firefox | webkit | msedge.

Fix

Add chromium to the browser enum (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:

  1. --browser chromium is recognized → resolves to the chrome-for-testing build.
  2. After installing that build, started the server with --browser chromium and issued a browser_navigate call → launched and loaded the page successfully (isError: undefined).

Plus: pnpm typecheckpnpm buildpnpm test ✅ (38/38).

Fixes #123

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
@gaojude gaojude enabled auto-merge (squash) June 1, 2026 03:31
@gaojude gaojude merged commit c7d8f45 into main Jun 1, 2026
4 checks passed
@gaojude gaojude deleted the fix/browser-eval-chromium-support branch June 1, 2026 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chromium Support

2 participants