playwright: force --browser chromium (v2 / 1.0.1)
default 'chrome' channel requires system Google Chrome, missing on slim Linux hosts; use the postinstall-downloaded Chromium build instead
This commit is contained in:
@@ -24,6 +24,7 @@ const packageDir = dirname(require.resolve("@playwright/mcp/package.json"));
|
||||
process.argv = [
|
||||
process.argv[0],
|
||||
"playwright-mcp",
|
||||
"--browser", "chromium", // default is the "chrome" channel (system Google Chrome), which is not installed on slim hosts; use the Chromium build downloaded by the postinstall hook
|
||||
"--headless", // no display in the container/host session
|
||||
"--isolated", // in-memory profile: no shared cookies/login state on disk
|
||||
"--no-sandbox", // Chromium sandbox cannot run inside containers
|
||||
|
||||
Reference in New Issue
Block a user