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 c6cc7da commit 9aaa5a2Copy full SHA for 9aaa5a2
tests/tools/network.test.ts
@@ -38,5 +38,17 @@ describe('network', () => {
38
);
39
});
40
41
+ it('should not add the request list', async () => {
42
+ await withBrowser(async (response, context) => {
43
+ const page = await context.getSelectedPage();
44
+ await page.goto('data:text/html,<div>Hello MCP</div>');
45
+ await getNetworkRequest.handler(
46
+ {params: {url: 'data:text/html,<div>Hello MCP</div>'}},
47
+ response,
48
+ context,
49
+ );
50
+ assert(!response.includeNetworkRequests);
51
+ });
52
53
54
0 commit comments