chore: do not double close connection (#744)
This commit is contained in:
@@ -29,7 +29,7 @@ const close = defineTool({
|
||||
},
|
||||
|
||||
handle: async (context, params, response) => {
|
||||
await context.close();
|
||||
await context.closeBrowserContext();
|
||||
response.setIncludeTabs();
|
||||
response.addCode(`await page.close()`);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user