diff --git a/src/index.ts b/src/index.ts index 6895cb052..0585f858f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -156,7 +156,7 @@ async function getContext(): Promise { channel: args.channel as Channel, isolated: args.isolated, }); - if (!context) { + if (context?.browser !== browser) { context = await McpContext.from(browser, logger); } return context;