fix: improve daemon startup error handling and diagnostics (#337)

* fixes

* add debugging
This commit is contained in:
Chris Tate
2026-02-02 13:47:15 -06:00
committed by GitHub
parent 97fd2828b5
commit c00dd44750
3 changed files with 66 additions and 8 deletions
+4
View File
@@ -1107,8 +1107,12 @@ export class BrowserManager {
context = await launcher.launchPersistentContext(profilePath, {
headless: options.headless ?? true,
executablePath: options.executablePath,
args: options.args,
viewport,
extraHTTPHeaders: options.headers,
userAgent: options.userAgent,
...(options.proxy && { proxy: options.proxy }),
ignoreHTTPSErrors: options.ignoreHTTPSErrors ?? false,
});
this.isPersistentContext = true;
} else {