We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f415c3e commit d3b8446Copy full SHA for d3b8446
src/browser.ts
@@ -142,9 +142,7 @@ export async function launch(options: McpLaunchOptions): Promise<Browser> {
142
} catch (error) {
143
if (
144
userDataDir &&
145
- ((error as Error).message.includes('The browser is already running') ||
146
- (error as Error).message.includes('Target closed') ||
147
- (error as Error).message.includes('Connection closed'))
+ (error as Error).message.includes('The browser is already running')
148
) {
149
throw new Error(
150
`The browser is already running for ${userDataDir}. Use --isolated to run multiple browser instances.`,
0 commit comments