feat(network): implement listing network requests (#247)

Fixes: https://github.com/microsoft/playwright-mcp/issues/242
This commit is contained in:
Pavel Feldman 2025-04-22 16:04:25 -07:00 committed by GitHub
parent c80f7cf222
commit 1bc3c761de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 401 additions and 4 deletions

View file

@ -26,6 +26,7 @@ import files from './tools/files';
import install from './tools/install';
import keyboard from './tools/keyboard';
import navigate from './tools/navigate';
import network from './tools/network';
import pdf from './tools/pdf';
import snapshot from './tools/snapshot';
import tabs from './tools/tabs';
@ -43,6 +44,7 @@ const snapshotTools: Tool<any>[] = [
...install,
...keyboard(true),
...navigate(true),
...network,
...pdf,
...snapshot,
...tabs(true),
@ -56,6 +58,7 @@ const screenshotTools: Tool<any>[] = [
...install,
...keyboard(false),
...navigate(false),
...network,
...pdf,
...screen,
...tabs(false),