chore: do not double close connection (#744)

This commit is contained in:
Yury Semikhatsky
2025-07-23 17:41:15 -07:00
committed by GitHub
parent 2c5eac89a8
commit bc120baa78
8 changed files with 60 additions and 59 deletions

View File

@@ -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()`);
},