test: verify the log in close/navigate test (#505)

This commit is contained in:
Pavel Feldman
2025-06-01 12:49:30 -07:00
committed by GitHub
parent 656779531c
commit f31ef598bc
12 changed files with 79 additions and 41 deletions

View File

@@ -141,7 +141,7 @@ test('reuse first tab when navigating', async ({ startClient, cdpServer, server
const browserContext = await cdpServer.start();
const pages = browserContext.pages();
const client = await startClient({ args: [`--cdp-endpoint=${cdpServer.endpoint}`] });
const { client } = await startClient({ args: [`--cdp-endpoint=${cdpServer.endpoint}`] });
await client.callTool({
name: 'browser_navigate',
arguments: { url: server.HELLO_WORLD },