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:
@@ -45,8 +45,8 @@
|
||||
"web",
|
||||
"scraping"
|
||||
],
|
||||
"version": 1,
|
||||
"version_string": "1.0.0",
|
||||
"version": 2,
|
||||
"version_string": "1.0.1",
|
||||
"version_release_date": "2026-08-19",
|
||||
"tools": [
|
||||
{
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
"type": "none"
|
||||
},
|
||||
"folder": "playwright",
|
||||
"version": 1,
|
||||
"version_string": "1.0.0",
|
||||
"version": 2,
|
||||
"version_string": "1.0.1",
|
||||
"version_release_date": "2026-08-19",
|
||||
"tools": [
|
||||
{
|
||||
|
||||
@@ -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