You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: get_network_request tool returns all requests instead of the specified one #233
Describe the bug
The get_network_request tool in src/tools/network.ts is designed to fetch a single network request by its URL. However, the handler currently includes a call to response.setIncludeNetworkRequests(true), which causes the tool to return all captured network requests instead of just the one specified by the URL. This makes the output noisy and incorrect.
To Reproduce
Steps to reproduce the behavior:
Run a page session where multiple network requests are made.
Call the get_network_request tool with a specific URL parameter.
Observe that the response contains all network requests for the page, not just the specified one.
Expected behavior
The get_network_request tool should only return the single request that matches the provided URL. To retrieve multiple or filtered requests, the list_network_requests tool should be used instead.
Activity
mithun50 commentedon Oct 1, 2025
@OrKoN if you assign to me I can work on this issue
Lightning00Blade commentedon Oct 1, 2025
A PR for fixing this landed - #236
Will be release as part of v0.6.0