CDP Network Interception Logger

•
13
•

Intercepts and modifies real-time HTTP traffic during browser automation sessions using the Chrome DevTools Protocol.

The CDP Network Interception Logger provides advanced control over web traffic by leveraging the Chrome DevTools Protocol's Fetch and Network domains. It allows developers to pause requests, modify headers or bodies on the fly, and log comprehensive network activity into HAR files compatible with professional debugging tools like Charles Proxy. This skill is essential for debugging complex web applications, mocking API responses, and performing deep network analysis during automated browser tasks or web scraping workflows.

Key Features

01Real-time HTTP request and response interception
02Native compatibility with Charles Proxy and traffic analyzers
03Support for Fetch.requestPaused and Network.event hooks
04Dynamic modification of request and response bodies
0513 GitHub stars
06Comprehensive HAR file export for external analysis

Use Cases

01Mocking backend API responses to test frontend edge cases without a live server
02Auditing network performance and data leakage during web scraping sessions
03Debugging race conditions and network errors in automated E2E tests