prevent relaunch

This commit is contained in:
Chris Tate
2026-01-11 01:05:25 -06:00
parent b8a786c992
commit 68115b85ce
+3 -2
View File
@@ -428,11 +428,12 @@ export class BrowserManager {
/** /**
* Launch the browser with the specified options * Launch the browser with the specified options
* If already launched, this is a no-op (browser stays open)
*/ */
async launch(options: LaunchCommand): Promise<void> { async launch(options: LaunchCommand): Promise<void> {
// Close existing browser if any // If already launched, don't relaunch
if (this.browser) { if (this.browser) {
await this.close(); return;
} }
// Select browser type // Select browser type