mirror of https://github.com/garrytan/gstack.git
Merge ecf7efb427 into c43c850cae
This commit is contained in:
commit
65eb139501
|
|
@ -563,7 +563,10 @@ export class BrowserManager {
|
|||
args: launchArgs,
|
||||
viewport: null, // Use browser's default viewport (real window size)
|
||||
userAgent: this.customUserAgent || customUA,
|
||||
...(executablePath ? { executablePath } : {}),
|
||||
// Playwright 1.49+ defaults headless:true to chrome-headless-shell, which
|
||||
// cannot load Chrome extensions. Explicitly pin the full Chromium binary
|
||||
// so future Playwright upgrades don't silently break /open-gstack-browser.
|
||||
executablePath: executablePath || chromium.executablePath(),
|
||||
...(this.proxyConfig ? { proxy: this.proxyConfig } : {}),
|
||||
// Playwright adds flags that block extension loading
|
||||
ignoreDefaultArgs: [
|
||||
|
|
|
|||
7
bun.lock
7
bun.lock
|
|
@ -9,7 +9,8 @@
|
|||
"@ngrok/ngrok": "^1.7.0",
|
||||
"diff": "^7.0.0",
|
||||
"marked": "^18.0.2",
|
||||
"playwright": "^1.58.2",
|
||||
"playwright": "^1.60.0",
|
||||
"playwright-core": "^1.60.0",
|
||||
"puppeteer-core": "^24.40.0",
|
||||
"socks": "^2.8.8",
|
||||
},
|
||||
|
|
@ -426,9 +427,9 @@
|
|||
|
||||
"platform": ["platform@1.3.6", "", {}, "sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg=="],
|
||||
|
||||
"playwright": ["playwright@1.58.2", "", { "dependencies": { "playwright-core": "1.58.2" }, "optionalDependencies": { "fsevents": "2.3.2" }, "bin": { "playwright": "cli.js" } }, "sha512-vA30H8Nvkq/cPBnNw4Q8TWz1EJyqgpuinBcHET0YVJVFldr8JDNiU9LaWAE1KqSkRYazuaBhTpB5ZzShOezQ6A=="],
|
||||
"playwright": ["playwright@1.60.0", "", { "dependencies": { "playwright-core": "1.60.0" }, "optionalDependencies": { "fsevents": "2.3.2" }, "bin": { "playwright": "cli.js" } }, "sha512-hheHdokM8cdqCb0lcE3s+zT4t4W+vvjpGxsZlDnikarzx8tSzMebh3UiFtgqwFwnTnjYQcsyMF8ei2mCO/tpeA=="],
|
||||
|
||||
"playwright-core": ["playwright-core@1.58.2", "", { "bin": { "playwright-core": "cli.js" } }, "sha512-yZkEtftgwS8CsfYo7nm0KE8jsvm6i/PTgVtB8DL726wNf6H2IMsDuxCpJj59KDaxCtSnrWan2AeDqM7JBaultg=="],
|
||||
"playwright-core": ["playwright-core@1.60.0", "", { "bin": { "playwright-core": "cli.js" } }, "sha512-9bW6zvX/m0lEbgTKJ6YppOKx8H3VOPBMOCFh2irXFOT4BbHgrx5hPjwJYLT40Lu+4qtD36qKc/Hn56StUW57IA=="],
|
||||
|
||||
"progress": ["progress@2.0.3", "", {}, "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA=="],
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,8 @@
|
|||
"@ngrok/ngrok": "^1.7.0",
|
||||
"diff": "^7.0.0",
|
||||
"marked": "^18.0.2",
|
||||
"playwright": "^1.58.2",
|
||||
"playwright": "^1.60.0",
|
||||
"playwright-core": "^1.60.0",
|
||||
"puppeteer-core": "^24.40.0",
|
||||
"socks": "^2.8.8"
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue