mirror of https://github.com/garrytan/gstack.git
Merge d8581a435c into 2beb636f7c
This commit is contained in:
commit
42d68f45aa
|
|
@ -585,7 +585,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 } : {}),
|
||||
ignoreDefaultArgs: STEALTH_IGNORE_DEFAULT_ARGS,
|
||||
});
|
||||
|
|
|
|||
7
bun.lock
7
bun.lock
|
|
@ -10,7 +10,8 @@
|
|||
"diff": "^7.0.0",
|
||||
"html-to-docx": "1.8.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",
|
||||
},
|
||||
|
|
@ -504,9 +505,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=="],
|
||||
|
||||
"process": ["process@0.11.10", "", {}, "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A=="],
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,8 @@
|
|||
"diff": "^7.0.0",
|
||||
"html-to-docx": "1.8.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