Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/_internal/browser-eval-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export async function ensureBrowserEvalMCP(): Promise<void> {
* Start playwright-mcp server and connect to it
*/
export async function startBrowserEvalMCP(options?: {
browser?: "chrome" | "firefox" | "webkit" | "msedge"
browser?: "chrome" | "chromium" | "firefox" | "webkit" | "msedge"
headless?: boolean
}): Promise<MCPConnection> {
// Ensure playwright-mcp is installed
Expand Down
8 changes: 5 additions & 3 deletions src/tools/browser-eval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ export const inputSchema = {
.describe("The action to perform using browser automation"),

browser: z
.enum(["chrome", "firefox", "webkit", "msedge"])
.enum(["chrome", "chromium", "firefox", "webkit", "msedge"])
.optional()
.describe("Browser to use (default: chrome). Only used with 'start' action."),
.describe(
"Browser to use (default: chrome). Use 'chromium' on platforms without a Chrome build (e.g. Linux arm64). Only used with 'start' action."
),
headless: z
.union([z.boolean(), z.string().transform((val) => val === "true")])
.optional()
Expand Down Expand Up @@ -129,7 +131,7 @@ type BrowserEvalArgs = {
| "drag"
| "upload_file"
| "list_tools"
browser?: "chrome" | "firefox" | "webkit" | "msedge"
browser?: "chrome" | "chromium" | "firefox" | "webkit" | "msedge"
headless?: boolean | string
url?: string
element?: string
Expand Down
Loading