Skip to content

Latest commit

 

History

History
91 lines (55 loc) · 7.54 KB

File metadata and controls

91 lines (55 loc) · 7.54 KB
graph LR
    Selenium_WebDriver_Integration["Selenium WebDriver Integration"]
    Proxy_Server_Core["Proxy Server Core"]
    Network_Traffic_Interception_Dispatcher["Network Traffic Interception & Dispatcher"]
    Traffic_Modification_Extensibility["Traffic Modification & Extensibility"]
    Network_Traffic_Storage_Export["Network Traffic Storage & Export"]
    SSL_TLS_Interception_Certificate_Management["SSL/TLS Interception & Certificate Management"]
    Selenium_WebDriver_Integration -- "configures & initiates" --> Proxy_Server_Core
    Proxy_Server_Core -- "routes traffic to" --> Network_Traffic_Interception_Dispatcher
    Network_Traffic_Interception_Dispatcher -- "delegates TLS handshake to" --> SSL_TLS_Interception_Certificate_Management
    Network_Traffic_Interception_Dispatcher -- "triggers modification events for" --> Traffic_Modification_Extensibility
    Traffic_Modification_Extensibility -- "applies modifications & returns to" --> Network_Traffic_Interception_Dispatcher
    Network_Traffic_Interception_Dispatcher -- "sends traffic for persistence to" --> Network_Traffic_Storage_Export
    click Selenium_WebDriver_Integration href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/selenium-wire/Selenium_WebDriver_Integration.md" "Details"
    click Proxy_Server_Core href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/selenium-wire/Proxy_Server_Core.md" "Details"
    click Network_Traffic_Interception_Dispatcher href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/selenium-wire/Network_Traffic_Interception_Dispatcher.md" "Details"
    click Traffic_Modification_Extensibility href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/selenium-wire/Traffic_Modification_Extensibility.md" "Details"
    click Network_Traffic_Storage_Export href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/selenium-wire/Network_Traffic_Storage_Export.md" "Details"
    click SSL_TLS_Interception_Certificate_Management href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/selenium-wire/SSL_TLS_Interception_Certificate_Management.md" "Details"
Loading

CodeBoardingDemoContact

Details

The selenium-wire architecture seamlessly integrates a powerful network proxy with Selenium WebDriver, enabling comprehensive control over browser network traffic. At its core, the Selenium WebDriver Integration component sets up and directs browser traffic through the Proxy Server Core. This core then funnels all intercepted requests and responses to the Network Traffic Interception & Dispatcher, which acts as the central orchestrator. This dispatcher intelligently routes HTTPS traffic through the SSL/TLS Interception & Certificate Management for decryption, and dispatches events to the Traffic Modification & Extensibility component, allowing users to inject custom logic for altering requests and responses. Finally, all processed traffic is sent to the Network Traffic Storage & Export component for persistent storage and the generation of detailed HAR reports. This design creates a robust, extensible pipeline for network traffic analysis and manipulation within a Selenium automation context.

Selenium WebDriver Integration [Expand]

The primary user-facing component that extends Selenium WebDriver, responsible for configuring and initiating the selenium-wire proxy to route browser traffic.

Related Classes/Methods:

Proxy Server Core [Expand]

The central proxy engine, built upon mitmproxy, responsible for listening for incoming connections, managing the proxy's lifecycle, and dispatching raw network traffic.

Related Classes/Methods:

Network Traffic Interception & Dispatcher [Expand]

Intercepts and processes raw HTTP/HTTPS requests and responses, converting them into structured data models and dispatching them for further processing, including modification and storage.

Related Classes/Methods:

Traffic Modification & Extensibility [Expand]

Manages and applies user-defined interception logic (addons) to modify intercepted requests and responses, leveraging mitmproxy's addon framework.

Related Classes/Methods:

Network Traffic Storage & Export [Expand]

Persists intercepted network traffic data and provides functionalities to retrieve and export this data, including generating HTTP Archive (HAR) entries.

Related Classes/Methods:

SSL/TLS Interception & Certificate Management [Expand]

Handles the secure socket layer (SSL/TLS) handshake for HTTPS traffic, including dynamic certificate generation, to enable transparent interception of encrypted communications.

Related Classes/Methods: