Commit eca7ea5
committed
feat(browser_eval): support 'chromium' browser (Linux arm64)
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 #1231 parent d1b3e56 commit eca7ea5
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
132 | | - | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
0 commit comments