chromedeveloperprotocol-client 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cdp/__init__.py +4 -0
- cdp/domains.py +582 -0
- cdp/generator/__init__.py +3 -0
- cdp/generator/client_generator.py +246 -0
- cdp/generator/constant.py +4 -0
- cdp/generator/domain_generator.py +149 -0
- cdp/generator/event_generator.py +202 -0
- cdp/generator/method_generator.py +215 -0
- cdp/generator/service.py +153 -0
- cdp/generator/type_generator.py +231 -0
- cdp/protocol/__init__.py +0 -0
- cdp/protocol/accessibility/__init__.py +0 -0
- cdp/protocol/accessibility/events/__init__.py +0 -0
- cdp/protocol/accessibility/events/service.py +37 -0
- cdp/protocol/accessibility/events/types.py +14 -0
- cdp/protocol/accessibility/methods/__init__.py +0 -0
- cdp/protocol/accessibility/methods/service.py +109 -0
- cdp/protocol/accessibility/methods/types.py +70 -0
- cdp/protocol/accessibility/service.py +21 -0
- cdp/protocol/accessibility/types.py +89 -0
- cdp/protocol/animation/__init__.py +0 -0
- cdp/protocol/animation/events/__init__.py +0 -0
- cdp/protocol/animation/events/service.py +53 -0
- cdp/protocol/animation/events/types.py +20 -0
- cdp/protocol/animation/methods/__init__.py +0 -0
- cdp/protocol/animation/methods/service.py +131 -0
- cdp/protocol/animation/methods/types.py +52 -0
- cdp/protocol/animation/service.py +21 -0
- cdp/protocol/animation/types.py +79 -0
- cdp/protocol/audits/__init__.py +0 -0
- cdp/protocol/audits/events/__init__.py +0 -0
- cdp/protocol/audits/events/service.py +29 -0
- cdp/protocol/audits/events/types.py +10 -0
- cdp/protocol/audits/methods/__init__.py +0 -0
- cdp/protocol/audits/methods/service.py +76 -0
- cdp/protocol/audits/methods/types.py +36 -0
- cdp/protocol/audits/service.py +21 -0
- cdp/protocol/audits/types.py +293 -0
- cdp/protocol/autofill/__init__.py +0 -0
- cdp/protocol/autofill/events/__init__.py +0 -0
- cdp/protocol/autofill/events/service.py +29 -0
- cdp/protocol/autofill/events/types.py +14 -0
- cdp/protocol/autofill/methods/__init__.py +0 -0
- cdp/protocol/autofill/methods/service.py +65 -0
- cdp/protocol/autofill/methods/types.py +22 -0
- cdp/protocol/autofill/service.py +21 -0
- cdp/protocol/autofill/types.py +54 -0
- cdp/protocol/background_service/__init__.py +0 -0
- cdp/protocol/background_service/events/__init__.py +0 -0
- cdp/protocol/background_service/events/service.py +37 -0
- cdp/protocol/background_service/events/types.py +14 -0
- cdp/protocol/background_service/methods/__init__.py +0 -0
- cdp/protocol/background_service/methods/service.py +65 -0
- cdp/protocol/background_service/methods/types.py +17 -0
- cdp/protocol/background_service/service.py +21 -0
- cdp/protocol/background_service/types.py +32 -0
- cdp/protocol/bluetooth_emulation/__init__.py +0 -0
- cdp/protocol/bluetooth_emulation/events/__init__.py +0 -0
- cdp/protocol/bluetooth_emulation/events/service.py +45 -0
- cdp/protocol/bluetooth_emulation/events/types.py +23 -0
- cdp/protocol/bluetooth_emulation/methods/__init__.py +0 -0
- cdp/protocol/bluetooth_emulation/methods/service.py +186 -0
- cdp/protocol/bluetooth_emulation/methods/types.py +81 -0
- cdp/protocol/bluetooth_emulation/service.py +21 -0
- cdp/protocol/bluetooth_emulation/types.py +45 -0
- cdp/protocol/browser/__init__.py +0 -0
- cdp/protocol/browser/events/__init__.py +0 -0
- cdp/protocol/browser/events/service.py +37 -0
- cdp/protocol/browser/events/types.py +28 -0
- cdp/protocol/browser/methods/__init__.py +0 -0
- cdp/protocol/browser/methods/service.py +230 -0
- cdp/protocol/browser/methods/types.py +126 -0
- cdp/protocol/browser/service.py +21 -0
- cdp/protocol/browser/types.py +57 -0
- cdp/protocol/cache_storage/__init__.py +0 -0
- cdp/protocol/cache_storage/events/__init__.py +0 -0
- cdp/protocol/cache_storage/events/service.py +20 -0
- cdp/protocol/cache_storage/events/types.py +3 -0
- cdp/protocol/cache_storage/methods/__init__.py +0 -0
- cdp/protocol/cache_storage/methods/service.py +76 -0
- cdp/protocol/cache_storage/methods/types.py +57 -0
- cdp/protocol/cache_storage/service.py +21 -0
- cdp/protocol/cache_storage/types.py +49 -0
- cdp/protocol/cast/__init__.py +0 -0
- cdp/protocol/cast/events/__init__.py +0 -0
- cdp/protocol/cast/events/service.py +37 -0
- cdp/protocol/cast/events/types.py +12 -0
- cdp/protocol/cast/methods/__init__.py +0 -0
- cdp/protocol/cast/methods/service.py +87 -0
- cdp/protocol/cast/methods/types.py +15 -0
- cdp/protocol/cast/service.py +21 -0
- cdp/protocol/cast/types.py +9 -0
- cdp/protocol/css/__init__.py +0 -0
- cdp/protocol/css/events/__init__.py +0 -0
- cdp/protocol/css/events/service.py +69 -0
- cdp/protocol/css/events/types.py +27 -0
- cdp/protocol/css/methods/__init__.py +0 -0
- cdp/protocol/css/methods/service.py +428 -0
- cdp/protocol/css/methods/types.py +278 -0
- cdp/protocol/css/service.py +21 -0
- cdp/protocol/css/types.py +451 -0
- cdp/protocol/debugger/__init__.py +0 -0
- cdp/protocol/debugger/events/__init__.py +0 -0
- cdp/protocol/debugger/events/service.py +53 -0
- cdp/protocol/debugger/events/types.py +112 -0
- cdp/protocol/debugger/methods/__init__.py +0 -0
- cdp/protocol/debugger/methods/service.py +362 -0
- cdp/protocol/debugger/methods/types.py +250 -0
- cdp/protocol/debugger/service.py +21 -0
- cdp/protocol/debugger/types.py +91 -0
- cdp/protocol/device_access/__init__.py +0 -0
- cdp/protocol/device_access/events/__init__.py +0 -0
- cdp/protocol/device_access/events/service.py +29 -0
- cdp/protocol/device_access/events/types.py +12 -0
- cdp/protocol/device_access/methods/__init__.py +0 -0
- cdp/protocol/device_access/methods/service.py +65 -0
- cdp/protocol/device_access/methods/types.py +16 -0
- cdp/protocol/device_access/service.py +21 -0
- cdp/protocol/device_access/types.py +13 -0
- cdp/protocol/device_orientation/__init__.py +0 -0
- cdp/protocol/device_orientation/events/__init__.py +0 -0
- cdp/protocol/device_orientation/events/service.py +20 -0
- cdp/protocol/device_orientation/events/types.py +3 -0
- cdp/protocol/device_orientation/methods/__init__.py +0 -0
- cdp/protocol/device_orientation/methods/service.py +43 -0
- cdp/protocol/device_orientation/methods/types.py +12 -0
- cdp/protocol/device_orientation/service.py +21 -0
- cdp/protocol/device_orientation/types.py +3 -0
- cdp/protocol/dom/__init__.py +0 -0
- cdp/protocol/dom/events/__init__.py +0 -0
- cdp/protocol/dom/events/service.py +165 -0
- cdp/protocol/dom/events/types.py +97 -0
- cdp/protocol/dom/methods/__init__.py +0 -0
- cdp/protocol/dom/methods/service.py +593 -0
- cdp/protocol/dom/methods/types.py +384 -0
- cdp/protocol/dom/service.py +21 -0
- cdp/protocol/dom/types.py +151 -0
- cdp/protocol/dom_debugger/__init__.py +0 -0
- cdp/protocol/dom_debugger/events/__init__.py +0 -0
- cdp/protocol/dom_debugger/events/service.py +20 -0
- cdp/protocol/dom_debugger/events/types.py +3 -0
- cdp/protocol/dom_debugger/methods/__init__.py +0 -0
- cdp/protocol/dom_debugger/methods/service.py +109 -0
- cdp/protocol/dom_debugger/methods/types.py +51 -0
- cdp/protocol/dom_debugger/service.py +21 -0
- cdp/protocol/dom_debugger/types.py +36 -0
- cdp/protocol/dom_snapshot/__init__.py +0 -0
- cdp/protocol/dom_snapshot/events/__init__.py +0 -0
- cdp/protocol/dom_snapshot/events/service.py +20 -0
- cdp/protocol/dom_snapshot/events/types.py +3 -0
- cdp/protocol/dom_snapshot/methods/__init__.py +0 -0
- cdp/protocol/dom_snapshot/methods/service.py +54 -0
- cdp/protocol/dom_snapshot/methods/types.py +28 -0
- cdp/protocol/dom_snapshot/service.py +21 -0
- cdp/protocol/dom_snapshot/types.py +220 -0
- cdp/protocol/dom_storage/__init__.py +0 -0
- cdp/protocol/dom_storage/events/__init__.py +0 -0
- cdp/protocol/dom_storage/events/service.py +53 -0
- cdp/protocol/dom_storage/events/types.py +22 -0
- cdp/protocol/dom_storage/methods/__init__.py +0 -0
- cdp/protocol/dom_storage/methods/service.py +87 -0
- cdp/protocol/dom_storage/methods/types.py +27 -0
- cdp/protocol/dom_storage/service.py +21 -0
- cdp/protocol/dom_storage/types.py +15 -0
- cdp/protocol/emulation/__init__.py +0 -0
- cdp/protocol/emulation/events/__init__.py +0 -0
- cdp/protocol/emulation/events/service.py +29 -0
- cdp/protocol/emulation/events/types.py +6 -0
- cdp/protocol/emulation/methods/__init__.py +0 -0
- cdp/protocol/emulation/methods/service.py +494 -0
- cdp/protocol/emulation/methods/types.py +261 -0
- cdp/protocol/emulation/service.py +21 -0
- cdp/protocol/emulation/types.py +132 -0
- cdp/protocol/event_breakpoints/__init__.py +0 -0
- cdp/protocol/event_breakpoints/events/__init__.py +0 -0
- cdp/protocol/event_breakpoints/events/service.py +20 -0
- cdp/protocol/event_breakpoints/events/types.py +3 -0
- cdp/protocol/event_breakpoints/methods/__init__.py +0 -0
- cdp/protocol/event_breakpoints/methods/service.py +54 -0
- cdp/protocol/event_breakpoints/methods/types.py +10 -0
- cdp/protocol/event_breakpoints/service.py +21 -0
- cdp/protocol/event_breakpoints/types.py +3 -0
- cdp/protocol/extensions/__init__.py +0 -0
- cdp/protocol/extensions/events/__init__.py +0 -0
- cdp/protocol/extensions/events/service.py +20 -0
- cdp/protocol/extensions/events/types.py +3 -0
- cdp/protocol/extensions/methods/__init__.py +0 -0
- cdp/protocol/extensions/methods/service.py +87 -0
- cdp/protocol/extensions/methods/types.py +46 -0
- cdp/protocol/extensions/service.py +21 -0
- cdp/protocol/extensions/types.py +6 -0
- cdp/protocol/fed_cm/__init__.py +0 -0
- cdp/protocol/fed_cm/events/__init__.py +0 -0
- cdp/protocol/fed_cm/events/service.py +37 -0
- cdp/protocol/fed_cm/events/types.py +18 -0
- cdp/protocol/fed_cm/methods/__init__.py +0 -0
- cdp/protocol/fed_cm/methods/service.py +98 -0
- cdp/protocol/fed_cm/methods/types.py +26 -0
- cdp/protocol/fed_cm/service.py +21 -0
- cdp/protocol/fed_cm/types.py +25 -0
- cdp/protocol/fetch/__init__.py +0 -0
- cdp/protocol/fetch/events/__init__.py +0 -0
- cdp/protocol/fetch/events/service.py +37 -0
- cdp/protocol/fetch/events/types.py +47 -0
- cdp/protocol/fetch/methods/__init__.py +0 -0
- cdp/protocol/fetch/methods/service.py +120 -0
- cdp/protocol/fetch/methods/types.py +85 -0
- cdp/protocol/fetch/service.py +21 -0
- cdp/protocol/fetch/types.py +41 -0
- cdp/protocol/file_system/__init__.py +0 -0
- cdp/protocol/file_system/events/__init__.py +0 -0
- cdp/protocol/file_system/events/service.py +20 -0
- cdp/protocol/file_system/events/types.py +3 -0
- cdp/protocol/file_system/methods/__init__.py +0 -0
- cdp/protocol/file_system/methods/service.py +32 -0
- cdp/protocol/file_system/methods/types.py +14 -0
- cdp/protocol/file_system/service.py +21 -0
- cdp/protocol/file_system/types.py +28 -0
- cdp/protocol/headless_experimental/__init__.py +0 -0
- cdp/protocol/headless_experimental/events/__init__.py +0 -0
- cdp/protocol/headless_experimental/events/service.py +20 -0
- cdp/protocol/headless_experimental/events/types.py +3 -0
- cdp/protocol/headless_experimental/methods/__init__.py +0 -0
- cdp/protocol/headless_experimental/methods/service.py +32 -0
- cdp/protocol/headless_experimental/methods/types.py +22 -0
- cdp/protocol/headless_experimental/service.py +21 -0
- cdp/protocol/headless_experimental/types.py +12 -0
- cdp/protocol/heap_profiler/__init__.py +0 -0
- cdp/protocol/heap_profiler/events/__init__.py +0 -0
- cdp/protocol/heap_profiler/events/service.py +61 -0
- cdp/protocol/heap_profiler/events/types.py +18 -0
- cdp/protocol/heap_profiler/methods/__init__.py +0 -0
- cdp/protocol/heap_profiler/methods/service.py +153 -0
- cdp/protocol/heap_profiler/methods/types.py +73 -0
- cdp/protocol/heap_profiler/service.py +21 -0
- cdp/protocol/heap_profiler/types.py +32 -0
- cdp/protocol/indexed_db/__init__.py +0 -0
- cdp/protocol/indexed_db/events/__init__.py +0 -0
- cdp/protocol/indexed_db/events/service.py +20 -0
- cdp/protocol/indexed_db/events/types.py +3 -0
- cdp/protocol/indexed_db/methods/__init__.py +0 -0
- cdp/protocol/indexed_db/methods/service.py +120 -0
- cdp/protocol/indexed_db/methods/types.py +111 -0
- cdp/protocol/indexed_db/service.py +21 -0
- cdp/protocol/indexed_db/types.py +74 -0
- cdp/protocol/input/__init__.py +0 -0
- cdp/protocol/input/events/__init__.py +0 -0
- cdp/protocol/input/events/service.py +29 -0
- cdp/protocol/input/events/types.py +10 -0
- cdp/protocol/input/methods/__init__.py +0 -0
- cdp/protocol/input/methods/service.py +164 -0
- cdp/protocol/input/methods/types.py +181 -0
- cdp/protocol/input/service.py +21 -0
- cdp/protocol/input/types.py +46 -0
- cdp/protocol/inspector/__init__.py +0 -0
- cdp/protocol/inspector/events/__init__.py +0 -0
- cdp/protocol/inspector/events/service.py +53 -0
- cdp/protocol/inspector/events/types.py +13 -0
- cdp/protocol/inspector/methods/__init__.py +0 -0
- cdp/protocol/inspector/methods/service.py +43 -0
- cdp/protocol/inspector/methods/types.py +3 -0
- cdp/protocol/inspector/service.py +21 -0
- cdp/protocol/inspector/types.py +3 -0
- cdp/protocol/io/__init__.py +0 -0
- cdp/protocol/io/events/__init__.py +0 -0
- cdp/protocol/io/events/service.py +20 -0
- cdp/protocol/io/events/types.py +3 -0
- cdp/protocol/io/methods/__init__.py +0 -0
- cdp/protocol/io/methods/service.py +54 -0
- cdp/protocol/io/methods/types.py +33 -0
- cdp/protocol/io/service.py +21 -0
- cdp/protocol/io/types.py +6 -0
- cdp/protocol/layer_tree/__init__.py +0 -0
- cdp/protocol/layer_tree/events/__init__.py +0 -0
- cdp/protocol/layer_tree/events/service.py +37 -0
- cdp/protocol/layer_tree/events/types.py +18 -0
- cdp/protocol/layer_tree/methods/__init__.py +0 -0
- cdp/protocol/layer_tree/methods/service.py +120 -0
- cdp/protocol/layer_tree/methods/types.py +70 -0
- cdp/protocol/layer_tree/service.py +21 -0
- cdp/protocol/layer_tree/types.py +73 -0
- cdp/protocol/log/__init__.py +0 -0
- cdp/protocol/log/events/__init__.py +0 -0
- cdp/protocol/log/events/service.py +29 -0
- cdp/protocol/log/events/types.py +11 -0
- cdp/protocol/log/methods/__init__.py +0 -0
- cdp/protocol/log/methods/service.py +76 -0
- cdp/protocol/log/methods/types.py +14 -0
- cdp/protocol/log/service.py +21 -0
- cdp/protocol/log/types.py +40 -0
- cdp/protocol/media/__init__.py +0 -0
- cdp/protocol/media/events/__init__.py +0 -0
- cdp/protocol/media/events/service.py +61 -0
- cdp/protocol/media/events/types.py +27 -0
- cdp/protocol/media/methods/__init__.py +0 -0
- cdp/protocol/media/methods/service.py +43 -0
- cdp/protocol/media/methods/types.py +3 -0
- cdp/protocol/media/service.py +21 -0
- cdp/protocol/media/types.py +42 -0
- cdp/protocol/memory/__init__.py +0 -0
- cdp/protocol/memory/events/__init__.py +0 -0
- cdp/protocol/memory/events/service.py +20 -0
- cdp/protocol/memory/events/types.py +3 -0
- cdp/protocol/memory/methods/__init__.py +0 -0
- cdp/protocol/memory/methods/service.py +142 -0
- cdp/protocol/memory/methods/types.py +48 -0
- cdp/protocol/memory/service.py +21 -0
- cdp/protocol/memory/types.py +34 -0
- cdp/protocol/network/__init__.py +0 -0
- cdp/protocol/network/events/__init__.py +0 -0
- cdp/protocol/network/events/service.py +365 -0
- cdp/protocol/network/events/types.py +360 -0
- cdp/protocol/network/methods/__init__.py +0 -0
- cdp/protocol/network/methods/service.py +384 -0
- cdp/protocol/network/methods/types.py +252 -0
- cdp/protocol/network/service.py +21 -0
- cdp/protocol/network/types.py +691 -0
- cdp/protocol/overlay/__init__.py +0 -0
- cdp/protocol/overlay/events/__init__.py +0 -0
- cdp/protocol/overlay/events/service.py +53 -0
- cdp/protocol/overlay/events/types.py +20 -0
- cdp/protocol/overlay/methods/__init__.py +0 -0
- cdp/protocol/overlay/methods/service.py +307 -0
- cdp/protocol/overlay/methods/types.py +144 -0
- cdp/protocol/overlay/service.py +21 -0
- cdp/protocol/overlay/types.py +198 -0
- cdp/protocol/page/__init__.py +0 -0
- cdp/protocol/page/events/__init__.py +0 -0
- cdp/protocol/page/events/service.py +213 -0
- cdp/protocol/page/events/types.py +147 -0
- cdp/protocol/page/methods/__init__.py +0 -0
- cdp/protocol/page/methods/service.py +560 -0
- cdp/protocol/page/methods/types.py +346 -0
- cdp/protocol/page/service.py +21 -0
- cdp/protocol/page/types.py +379 -0
- cdp/protocol/performance/__init__.py +0 -0
- cdp/protocol/performance/events/__init__.py +0 -0
- cdp/protocol/performance/events/service.py +29 -0
- cdp/protocol/performance/events/types.py +13 -0
- cdp/protocol/performance/methods/__init__.py +0 -0
- cdp/protocol/performance/methods/service.py +54 -0
- cdp/protocol/performance/methods/types.py +18 -0
- cdp/protocol/performance/service.py +21 -0
- cdp/protocol/performance/types.py +10 -0
- cdp/protocol/performance_timeline/__init__.py +0 -0
- cdp/protocol/performance_timeline/events/__init__.py +0 -0
- cdp/protocol/performance_timeline/events/service.py +29 -0
- cdp/protocol/performance_timeline/events/types.py +10 -0
- cdp/protocol/performance_timeline/methods/__init__.py +0 -0
- cdp/protocol/performance_timeline/methods/service.py +32 -0
- cdp/protocol/performance_timeline/methods/types.py +7 -0
- cdp/protocol/performance_timeline/service.py +21 -0
- cdp/protocol/performance_timeline/types.py +46 -0
- cdp/protocol/preload/__init__.py +0 -0
- cdp/protocol/preload/events/__init__.py +0 -0
- cdp/protocol/preload/events/service.py +69 -0
- cdp/protocol/preload/events/types.py +49 -0
- cdp/protocol/preload/methods/__init__.py +0 -0
- cdp/protocol/preload/methods/service.py +43 -0
- cdp/protocol/preload/methods/types.py +3 -0
- cdp/protocol/preload/service.py +21 -0
- cdp/protocol/preload/types.py +56 -0
- cdp/protocol/profiler/__init__.py +0 -0
- cdp/protocol/profiler/events/__init__.py +0 -0
- cdp/protocol/profiler/events/service.py +45 -0
- cdp/protocol/profiler/events/types.py +30 -0
- cdp/protocol/profiler/methods/__init__.py +0 -0
- cdp/protocol/profiler/methods/service.py +120 -0
- cdp/protocol/profiler/methods/types.py +45 -0
- cdp/protocol/profiler/service.py +21 -0
- cdp/protocol/profiler/types.py +65 -0
- cdp/protocol/pwa/__init__.py +0 -0
- cdp/protocol/pwa/events/__init__.py +0 -0
- cdp/protocol/pwa/events/service.py +20 -0
- cdp/protocol/pwa/events/types.py +3 -0
- cdp/protocol/pwa/methods/__init__.py +0 -0
- cdp/protocol/pwa/methods/service.py +98 -0
- cdp/protocol/pwa/methods/types.py +43 -0
- cdp/protocol/pwa/service.py +21 -0
- cdp/protocol/pwa/types.py +15 -0
- cdp/protocol/py.typed +0 -0
- cdp/protocol/runtime/__init__.py +0 -0
- cdp/protocol/runtime/events/__init__.py +0 -0
- cdp/protocol/runtime/events/service.py +85 -0
- cdp/protocol/runtime/events/types.py +55 -0
- cdp/protocol/runtime/methods/__init__.py +0 -0
- cdp/protocol/runtime/methods/service.py +274 -0
- cdp/protocol/runtime/methods/types.py +226 -0
- cdp/protocol/runtime/service.py +21 -0
- cdp/protocol/runtime/types.py +194 -0
- cdp/protocol/security/__init__.py +0 -0
- cdp/protocol/security/events/__init__.py +0 -0
- cdp/protocol/security/events/service.py +29 -0
- cdp/protocol/security/events/types.py +11 -0
- cdp/protocol/security/methods/__init__.py +0 -0
- cdp/protocol/security/methods/service.py +54 -0
- cdp/protocol/security/methods/types.py +9 -0
- cdp/protocol/security/service.py +21 -0
- cdp/protocol/security/types.py +102 -0
- cdp/protocol/service_worker/__init__.py +0 -0
- cdp/protocol/service_worker/events/__init__.py +0 -0
- cdp/protocol/service_worker/events/service.py +45 -0
- cdp/protocol/service_worker/events/types.py +16 -0
- cdp/protocol/service_worker/methods/__init__.py +0 -0
- cdp/protocol/service_worker/methods/service.py +153 -0
- cdp/protocol/service_worker/methods/types.py +36 -0
- cdp/protocol/service_worker/service.py +21 -0
- cdp/protocol/service_worker/types.py +38 -0
- cdp/protocol/storage/__init__.py +0 -0
- cdp/protocol/storage/events/__init__.py +0 -0
- cdp/protocol/storage/events/service.py +141 -0
- cdp/protocol/storage/events/types.py +139 -0
- cdp/protocol/storage/methods/__init__.py +0 -0
- cdp/protocol/storage/methods/service.py +428 -0
- cdp/protocol/storage/methods/types.py +184 -0
- cdp/protocol/storage/service.py +21 -0
- cdp/protocol/storage/types.py +236 -0
- cdp/protocol/system_info/__init__.py +0 -0
- cdp/protocol/system_info/events/__init__.py +0 -0
- cdp/protocol/system_info/events/service.py +20 -0
- cdp/protocol/system_info/events/types.py +3 -0
- cdp/protocol/system_info/methods/__init__.py +0 -0
- cdp/protocol/system_info/methods/service.py +54 -0
- cdp/protocol/system_info/methods/types.py +27 -0
- cdp/protocol/system_info/service.py +21 -0
- cdp/protocol/system_info/types.py +71 -0
- cdp/protocol/target/__init__.py +0 -0
- cdp/protocol/target/events/__init__.py +0 -0
- cdp/protocol/target/events/service.py +77 -0
- cdp/protocol/target/events/types.py +38 -0
- cdp/protocol/target/methods/__init__.py +0 -0
- cdp/protocol/target/methods/service.py +219 -0
- cdp/protocol/target/methods/types.py +148 -0
- cdp/protocol/target/service.py +21 -0
- cdp/protocol/target/types.py +44 -0
- cdp/protocol/tethering/__init__.py +0 -0
- cdp/protocol/tethering/events/__init__.py +0 -0
- cdp/protocol/tethering/events/service.py +29 -0
- cdp/protocol/tethering/events/types.py +9 -0
- cdp/protocol/tethering/methods/__init__.py +0 -0
- cdp/protocol/tethering/methods/service.py +43 -0
- cdp/protocol/tethering/methods/types.py +10 -0
- cdp/protocol/tethering/service.py +21 -0
- cdp/protocol/tethering/types.py +3 -0
- cdp/protocol/tracing/__init__.py +0 -0
- cdp/protocol/tracing/events/__init__.py +0 -0
- cdp/protocol/tracing/events/service.py +45 -0
- cdp/protocol/tracing/events/types.py +28 -0
- cdp/protocol/tracing/methods/__init__.py +0 -0
- cdp/protocol/tracing/methods/service.py +87 -0
- cdp/protocol/tracing/methods/types.py +54 -0
- cdp/protocol/tracing/service.py +21 -0
- cdp/protocol/tracing/types.py +34 -0
- cdp/protocol/web_audio/__init__.py +0 -0
- cdp/protocol/web_audio/events/__init__.py +0 -0
- cdp/protocol/web_audio/events/service.py +125 -0
- cdp/protocol/web_audio/events/types.py +56 -0
- cdp/protocol/web_audio/methods/__init__.py +0 -0
- cdp/protocol/web_audio/methods/service.py +54 -0
- cdp/protocol/web_audio/methods/types.py +17 -0
- cdp/protocol/web_audio/service.py +21 -0
- cdp/protocol/web_audio/types.py +66 -0
- cdp/protocol/web_authn/__init__.py +0 -0
- cdp/protocol/web_authn/events/__init__.py +0 -0
- cdp/protocol/web_authn/events/service.py +53 -0
- cdp/protocol/web_authn/events/types.py +21 -0
- cdp/protocol/web_authn/methods/__init__.py +0 -0
- cdp/protocol/web_authn/methods/service.py +164 -0
- cdp/protocol/web_authn/methods/types.py +61 -0
- cdp/protocol/web_authn/service.py +21 -0
- cdp/protocol/web_authn/types.py +54 -0
- cdp/py.typed +0 -0
- cdp/service.py +184 -0
- chromedeveloperprotocol_client-0.1.0.dist-info/METADATA +15 -0
- chromedeveloperprotocol_client-0.1.0.dist-info/RECORD +476 -0
- chromedeveloperprotocol_client-0.1.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
"""CDP Network Domain Methods"""
|
|
2
|
+
from ..types import *
|
|
3
|
+
from .types import *
|
|
4
|
+
from typing import Optional, Dict, Any, Callable, TYPE_CHECKING
|
|
5
|
+
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
from ....service import Client
|
|
8
|
+
|
|
9
|
+
class NetworkMethods:
|
|
10
|
+
"""
|
|
11
|
+
Methods for the Network domain.
|
|
12
|
+
"""
|
|
13
|
+
def __init__(self, client: "Client"):
|
|
14
|
+
"""
|
|
15
|
+
Initialize the Network methods.
|
|
16
|
+
|
|
17
|
+
Args:
|
|
18
|
+
client ("Client"): The parent CDP client instance.
|
|
19
|
+
"""
|
|
20
|
+
self.client = client
|
|
21
|
+
|
|
22
|
+
async def set_accepted_encodings(self, params: Optional[setAcceptedEncodingsParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
23
|
+
"""
|
|
24
|
+
Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
|
|
25
|
+
Args:
|
|
26
|
+
params (setAcceptedEncodingsParameters, optional): Parameters for the setAcceptedEncodings method.
|
|
27
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
28
|
+
|
|
29
|
+
Returns:
|
|
30
|
+
Dict[str, Any]: The result of the setAcceptedEncodings call.
|
|
31
|
+
"""
|
|
32
|
+
return await self.client.send(method="Network.setAcceptedEncodings", params=params,session_id=session_id)
|
|
33
|
+
async def clear_accepted_encodings_override(self, params: None=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
34
|
+
"""
|
|
35
|
+
Clears accepted encodings set by setAcceptedEncodings
|
|
36
|
+
Args:
|
|
37
|
+
params (None, optional): Parameters for the clearAcceptedEncodingsOverride method.
|
|
38
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
39
|
+
|
|
40
|
+
Returns:
|
|
41
|
+
Dict[str, Any]: The result of the clearAcceptedEncodingsOverride call.
|
|
42
|
+
"""
|
|
43
|
+
return await self.client.send(method="Network.clearAcceptedEncodingsOverride", params=params,session_id=session_id)
|
|
44
|
+
async def clear_browser_cache(self, params: None=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
45
|
+
"""
|
|
46
|
+
Clears browser cache.
|
|
47
|
+
Args:
|
|
48
|
+
params (None, optional): Parameters for the clearBrowserCache method.
|
|
49
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
50
|
+
|
|
51
|
+
Returns:
|
|
52
|
+
Dict[str, Any]: The result of the clearBrowserCache call.
|
|
53
|
+
"""
|
|
54
|
+
return await self.client.send(method="Network.clearBrowserCache", params=params,session_id=session_id)
|
|
55
|
+
async def clear_browser_cookies(self, params: None=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
56
|
+
"""
|
|
57
|
+
Clears browser cookies.
|
|
58
|
+
Args:
|
|
59
|
+
params (None, optional): Parameters for the clearBrowserCookies method.
|
|
60
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
61
|
+
|
|
62
|
+
Returns:
|
|
63
|
+
Dict[str, Any]: The result of the clearBrowserCookies call.
|
|
64
|
+
"""
|
|
65
|
+
return await self.client.send(method="Network.clearBrowserCookies", params=params,session_id=session_id)
|
|
66
|
+
async def delete_cookies(self, params: Optional[deleteCookiesParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
67
|
+
"""
|
|
68
|
+
Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
|
|
69
|
+
Args:
|
|
70
|
+
params (deleteCookiesParameters, optional): Parameters for the deleteCookies method.
|
|
71
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
72
|
+
|
|
73
|
+
Returns:
|
|
74
|
+
Dict[str, Any]: The result of the deleteCookies call.
|
|
75
|
+
"""
|
|
76
|
+
return await self.client.send(method="Network.deleteCookies", params=params,session_id=session_id)
|
|
77
|
+
async def disable(self, params: None=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
78
|
+
"""
|
|
79
|
+
Disables network tracking, prevents network events from being sent to the client.
|
|
80
|
+
Args:
|
|
81
|
+
params (None, optional): Parameters for the disable method.
|
|
82
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
83
|
+
|
|
84
|
+
Returns:
|
|
85
|
+
Dict[str, Any]: The result of the disable call.
|
|
86
|
+
"""
|
|
87
|
+
return await self.client.send(method="Network.disable", params=params,session_id=session_id)
|
|
88
|
+
async def emulate_network_conditions_by_rule(self, params: Optional[emulateNetworkConditionsByRuleParameters]=None,session_id: Optional[str] = None) -> emulateNetworkConditionsByRuleReturns:
|
|
89
|
+
"""
|
|
90
|
+
Activates emulation of network conditions for individual requests using URL match patterns. Unlike the deprecated Network.emulateNetworkConditions this method does not affect `navigator` state. Use Network.overrideNetworkState to explicitly modify `navigator` behavior.
|
|
91
|
+
Args:
|
|
92
|
+
params (emulateNetworkConditionsByRuleParameters, optional): Parameters for the emulateNetworkConditionsByRule method.
|
|
93
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
94
|
+
|
|
95
|
+
Returns:
|
|
96
|
+
emulateNetworkConditionsByRuleReturns: The result of the emulateNetworkConditionsByRule call.
|
|
97
|
+
"""
|
|
98
|
+
return await self.client.send(method="Network.emulateNetworkConditionsByRule", params=params,session_id=session_id)
|
|
99
|
+
async def override_network_state(self, params: Optional[overrideNetworkStateParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
100
|
+
"""
|
|
101
|
+
Override the state of navigator.onLine and navigator.connection.
|
|
102
|
+
Args:
|
|
103
|
+
params (overrideNetworkStateParameters, optional): Parameters for the overrideNetworkState method.
|
|
104
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
105
|
+
|
|
106
|
+
Returns:
|
|
107
|
+
Dict[str, Any]: The result of the overrideNetworkState call.
|
|
108
|
+
"""
|
|
109
|
+
return await self.client.send(method="Network.overrideNetworkState", params=params,session_id=session_id)
|
|
110
|
+
async def enable(self, params: Optional[enableParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
111
|
+
"""
|
|
112
|
+
Enables network tracking, network events will now be delivered to the client.
|
|
113
|
+
Args:
|
|
114
|
+
params (enableParameters, optional): Parameters for the enable method.
|
|
115
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
116
|
+
|
|
117
|
+
Returns:
|
|
118
|
+
Dict[str, Any]: The result of the enable call.
|
|
119
|
+
"""
|
|
120
|
+
return await self.client.send(method="Network.enable", params=params,session_id=session_id)
|
|
121
|
+
async def configure_durable_messages(self, params: Optional[configureDurableMessagesParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
122
|
+
"""
|
|
123
|
+
Configures storing response bodies outside of renderer, so that these survive a cross-process navigation. If maxTotalBufferSize is not set, durable messages are disabled.
|
|
124
|
+
Args:
|
|
125
|
+
params (configureDurableMessagesParameters, optional): Parameters for the configureDurableMessages method.
|
|
126
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
127
|
+
|
|
128
|
+
Returns:
|
|
129
|
+
Dict[str, Any]: The result of the configureDurableMessages call.
|
|
130
|
+
"""
|
|
131
|
+
return await self.client.send(method="Network.configureDurableMessages", params=params,session_id=session_id)
|
|
132
|
+
async def get_certificate(self, params: Optional[getCertificateParameters]=None,session_id: Optional[str] = None) -> getCertificateReturns:
|
|
133
|
+
"""
|
|
134
|
+
Returns the DER-encoded certificate.
|
|
135
|
+
Args:
|
|
136
|
+
params (getCertificateParameters, optional): Parameters for the getCertificate method.
|
|
137
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
138
|
+
|
|
139
|
+
Returns:
|
|
140
|
+
getCertificateReturns: The result of the getCertificate call.
|
|
141
|
+
"""
|
|
142
|
+
return await self.client.send(method="Network.getCertificate", params=params,session_id=session_id)
|
|
143
|
+
async def get_cookies(self, params: Optional[getCookiesParameters]=None,session_id: Optional[str] = None) -> getCookiesReturns:
|
|
144
|
+
"""
|
|
145
|
+
Returns all browser cookies for the current URL. Depending on the backend support, will return detailed cookie information in the `cookies` field.
|
|
146
|
+
Args:
|
|
147
|
+
params (getCookiesParameters, optional): Parameters for the getCookies method.
|
|
148
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
149
|
+
|
|
150
|
+
Returns:
|
|
151
|
+
getCookiesReturns: The result of the getCookies call.
|
|
152
|
+
"""
|
|
153
|
+
return await self.client.send(method="Network.getCookies", params=params,session_id=session_id)
|
|
154
|
+
async def get_response_body(self, params: Optional[getResponseBodyParameters]=None,session_id: Optional[str] = None) -> getResponseBodyReturns:
|
|
155
|
+
"""
|
|
156
|
+
Returns content served for the given request.
|
|
157
|
+
Args:
|
|
158
|
+
params (getResponseBodyParameters, optional): Parameters for the getResponseBody method.
|
|
159
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
160
|
+
|
|
161
|
+
Returns:
|
|
162
|
+
getResponseBodyReturns: The result of the getResponseBody call.
|
|
163
|
+
"""
|
|
164
|
+
return await self.client.send(method="Network.getResponseBody", params=params,session_id=session_id)
|
|
165
|
+
async def get_request_post_data(self, params: Optional[getRequestPostDataParameters]=None,session_id: Optional[str] = None) -> getRequestPostDataReturns:
|
|
166
|
+
"""
|
|
167
|
+
Returns post data sent with the request. Returns an error when no data was sent with the request.
|
|
168
|
+
Args:
|
|
169
|
+
params (getRequestPostDataParameters, optional): Parameters for the getRequestPostData method.
|
|
170
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
171
|
+
|
|
172
|
+
Returns:
|
|
173
|
+
getRequestPostDataReturns: The result of the getRequestPostData call.
|
|
174
|
+
"""
|
|
175
|
+
return await self.client.send(method="Network.getRequestPostData", params=params,session_id=session_id)
|
|
176
|
+
async def get_response_body_for_interception(self, params: Optional[getResponseBodyForInterceptionParameters]=None,session_id: Optional[str] = None) -> getResponseBodyForInterceptionReturns:
|
|
177
|
+
"""
|
|
178
|
+
Returns content served for the given currently intercepted request.
|
|
179
|
+
Args:
|
|
180
|
+
params (getResponseBodyForInterceptionParameters, optional): Parameters for the getResponseBodyForInterception method.
|
|
181
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
182
|
+
|
|
183
|
+
Returns:
|
|
184
|
+
getResponseBodyForInterceptionReturns: The result of the getResponseBodyForInterception call.
|
|
185
|
+
"""
|
|
186
|
+
return await self.client.send(method="Network.getResponseBodyForInterception", params=params,session_id=session_id)
|
|
187
|
+
async def take_response_body_for_interception_as_stream(self, params: Optional[takeResponseBodyForInterceptionAsStreamParameters]=None,session_id: Optional[str] = None) -> takeResponseBodyForInterceptionAsStreamReturns:
|
|
188
|
+
"""
|
|
189
|
+
Returns a handle to the stream representing the response body. Note that after this command, the intercepted request can't be continued as is -- you either need to cancel it or to provide the response body. The stream only supports sequential read, IO.read will fail if the position is specified.
|
|
190
|
+
Args:
|
|
191
|
+
params (takeResponseBodyForInterceptionAsStreamParameters, optional): Parameters for the takeResponseBodyForInterceptionAsStream method.
|
|
192
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
193
|
+
|
|
194
|
+
Returns:
|
|
195
|
+
takeResponseBodyForInterceptionAsStreamReturns: The result of the takeResponseBodyForInterceptionAsStream call.
|
|
196
|
+
"""
|
|
197
|
+
return await self.client.send(method="Network.takeResponseBodyForInterceptionAsStream", params=params,session_id=session_id)
|
|
198
|
+
async def replay_xhr(self, params: Optional[replayXHRParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
199
|
+
"""
|
|
200
|
+
This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password.
|
|
201
|
+
Args:
|
|
202
|
+
params (replayXHRParameters, optional): Parameters for the replayXHR method.
|
|
203
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
204
|
+
|
|
205
|
+
Returns:
|
|
206
|
+
Dict[str, Any]: The result of the replayXHR call.
|
|
207
|
+
"""
|
|
208
|
+
return await self.client.send(method="Network.replayXHR", params=params,session_id=session_id)
|
|
209
|
+
async def search_in_response_body(self, params: Optional[searchInResponseBodyParameters]=None,session_id: Optional[str] = None) -> searchInResponseBodyReturns:
|
|
210
|
+
"""
|
|
211
|
+
Searches for given string in response content.
|
|
212
|
+
Args:
|
|
213
|
+
params (searchInResponseBodyParameters, optional): Parameters for the searchInResponseBody method.
|
|
214
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
215
|
+
|
|
216
|
+
Returns:
|
|
217
|
+
searchInResponseBodyReturns: The result of the searchInResponseBody call.
|
|
218
|
+
"""
|
|
219
|
+
return await self.client.send(method="Network.searchInResponseBody", params=params,session_id=session_id)
|
|
220
|
+
async def set_blocked_ur_ls(self, params: Optional[setBlockedURLsParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
221
|
+
"""
|
|
222
|
+
Blocks URLs from loading.
|
|
223
|
+
Args:
|
|
224
|
+
params (setBlockedURLsParameters, optional): Parameters for the setBlockedURLs method.
|
|
225
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
226
|
+
|
|
227
|
+
Returns:
|
|
228
|
+
Dict[str, Any]: The result of the setBlockedURLs call.
|
|
229
|
+
"""
|
|
230
|
+
return await self.client.send(method="Network.setBlockedURLs", params=params,session_id=session_id)
|
|
231
|
+
async def set_bypass_service_worker(self, params: Optional[setBypassServiceWorkerParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
232
|
+
"""
|
|
233
|
+
Toggles ignoring of service worker for each request.
|
|
234
|
+
Args:
|
|
235
|
+
params (setBypassServiceWorkerParameters, optional): Parameters for the setBypassServiceWorker method.
|
|
236
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
237
|
+
|
|
238
|
+
Returns:
|
|
239
|
+
Dict[str, Any]: The result of the setBypassServiceWorker call.
|
|
240
|
+
"""
|
|
241
|
+
return await self.client.send(method="Network.setBypassServiceWorker", params=params,session_id=session_id)
|
|
242
|
+
async def set_cache_disabled(self, params: Optional[setCacheDisabledParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
243
|
+
"""
|
|
244
|
+
Toggles ignoring cache for each request. If `true`, cache will not be used.
|
|
245
|
+
Args:
|
|
246
|
+
params (setCacheDisabledParameters, optional): Parameters for the setCacheDisabled method.
|
|
247
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
248
|
+
|
|
249
|
+
Returns:
|
|
250
|
+
Dict[str, Any]: The result of the setCacheDisabled call.
|
|
251
|
+
"""
|
|
252
|
+
return await self.client.send(method="Network.setCacheDisabled", params=params,session_id=session_id)
|
|
253
|
+
async def set_cookie(self, params: Optional[setCookieParameters]=None,session_id: Optional[str] = None) -> setCookieReturns:
|
|
254
|
+
"""
|
|
255
|
+
Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
|
|
256
|
+
Args:
|
|
257
|
+
params (setCookieParameters, optional): Parameters for the setCookie method.
|
|
258
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
259
|
+
|
|
260
|
+
Returns:
|
|
261
|
+
setCookieReturns: The result of the setCookie call.
|
|
262
|
+
"""
|
|
263
|
+
return await self.client.send(method="Network.setCookie", params=params,session_id=session_id)
|
|
264
|
+
async def set_cookies(self, params: Optional[setCookiesParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
265
|
+
"""
|
|
266
|
+
Sets given cookies.
|
|
267
|
+
Args:
|
|
268
|
+
params (setCookiesParameters, optional): Parameters for the setCookies method.
|
|
269
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
270
|
+
|
|
271
|
+
Returns:
|
|
272
|
+
Dict[str, Any]: The result of the setCookies call.
|
|
273
|
+
"""
|
|
274
|
+
return await self.client.send(method="Network.setCookies", params=params,session_id=session_id)
|
|
275
|
+
async def set_extra_http_headers(self, params: Optional[setExtraHTTPHeadersParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
276
|
+
"""
|
|
277
|
+
Specifies whether to always send extra HTTP headers with the requests from this page.
|
|
278
|
+
Args:
|
|
279
|
+
params (setExtraHTTPHeadersParameters, optional): Parameters for the setExtraHTTPHeaders method.
|
|
280
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
281
|
+
|
|
282
|
+
Returns:
|
|
283
|
+
Dict[str, Any]: The result of the setExtraHTTPHeaders call.
|
|
284
|
+
"""
|
|
285
|
+
return await self.client.send(method="Network.setExtraHTTPHeaders", params=params,session_id=session_id)
|
|
286
|
+
async def set_attach_debug_stack(self, params: Optional[setAttachDebugStackParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
287
|
+
"""
|
|
288
|
+
Specifies whether to attach a page script stack id in requests
|
|
289
|
+
Args:
|
|
290
|
+
params (setAttachDebugStackParameters, optional): Parameters for the setAttachDebugStack method.
|
|
291
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
292
|
+
|
|
293
|
+
Returns:
|
|
294
|
+
Dict[str, Any]: The result of the setAttachDebugStack call.
|
|
295
|
+
"""
|
|
296
|
+
return await self.client.send(method="Network.setAttachDebugStack", params=params,session_id=session_id)
|
|
297
|
+
async def set_user_agent_override(self, params: Optional[setUserAgentOverrideParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
298
|
+
"""
|
|
299
|
+
Allows overriding user agent with the given string.
|
|
300
|
+
Args:
|
|
301
|
+
params (setUserAgentOverrideParameters, optional): Parameters for the setUserAgentOverride method.
|
|
302
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
303
|
+
|
|
304
|
+
Returns:
|
|
305
|
+
Dict[str, Any]: The result of the setUserAgentOverride call.
|
|
306
|
+
"""
|
|
307
|
+
return await self.client.send(method="Network.setUserAgentOverride", params=params,session_id=session_id)
|
|
308
|
+
async def stream_resource_content(self, params: Optional[streamResourceContentParameters]=None,session_id: Optional[str] = None) -> streamResourceContentReturns:
|
|
309
|
+
"""
|
|
310
|
+
Enables streaming of the response for the given requestId. If enabled, the dataReceived event contains the data that was received during streaming.
|
|
311
|
+
Args:
|
|
312
|
+
params (streamResourceContentParameters, optional): Parameters for the streamResourceContent method.
|
|
313
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
314
|
+
|
|
315
|
+
Returns:
|
|
316
|
+
streamResourceContentReturns: The result of the streamResourceContent call.
|
|
317
|
+
"""
|
|
318
|
+
return await self.client.send(method="Network.streamResourceContent", params=params,session_id=session_id)
|
|
319
|
+
async def get_security_isolation_status(self, params: Optional[getSecurityIsolationStatusParameters]=None,session_id: Optional[str] = None) -> getSecurityIsolationStatusReturns:
|
|
320
|
+
"""
|
|
321
|
+
Returns information about the COEP/COOP isolation status.
|
|
322
|
+
Args:
|
|
323
|
+
params (getSecurityIsolationStatusParameters, optional): Parameters for the getSecurityIsolationStatus method.
|
|
324
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
325
|
+
|
|
326
|
+
Returns:
|
|
327
|
+
getSecurityIsolationStatusReturns: The result of the getSecurityIsolationStatus call.
|
|
328
|
+
"""
|
|
329
|
+
return await self.client.send(method="Network.getSecurityIsolationStatus", params=params,session_id=session_id)
|
|
330
|
+
async def enable_reporting_api(self, params: Optional[enableReportingApiParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
331
|
+
"""
|
|
332
|
+
Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client. Enabling triggers 'reportingApiReportAdded' for all existing reports.
|
|
333
|
+
Args:
|
|
334
|
+
params (enableReportingApiParameters, optional): Parameters for the enableReportingApi method.
|
|
335
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
336
|
+
|
|
337
|
+
Returns:
|
|
338
|
+
Dict[str, Any]: The result of the enableReportingApi call.
|
|
339
|
+
"""
|
|
340
|
+
return await self.client.send(method="Network.enableReportingApi", params=params,session_id=session_id)
|
|
341
|
+
async def enable_device_bound_sessions(self, params: Optional[enableDeviceBoundSessionsParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
342
|
+
"""
|
|
343
|
+
Sets up tracking device bound sessions and fetching of initial set of sessions.
|
|
344
|
+
Args:
|
|
345
|
+
params (enableDeviceBoundSessionsParameters, optional): Parameters for the enableDeviceBoundSessions method.
|
|
346
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
347
|
+
|
|
348
|
+
Returns:
|
|
349
|
+
Dict[str, Any]: The result of the enableDeviceBoundSessions call.
|
|
350
|
+
"""
|
|
351
|
+
return await self.client.send(method="Network.enableDeviceBoundSessions", params=params,session_id=session_id)
|
|
352
|
+
async def fetch_schemeful_site(self, params: Optional[fetchSchemefulSiteParameters]=None,session_id: Optional[str] = None) -> fetchSchemefulSiteReturns:
|
|
353
|
+
"""
|
|
354
|
+
Fetches the schemeful site for a specific origin.
|
|
355
|
+
Args:
|
|
356
|
+
params (fetchSchemefulSiteParameters, optional): Parameters for the fetchSchemefulSite method.
|
|
357
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
358
|
+
|
|
359
|
+
Returns:
|
|
360
|
+
fetchSchemefulSiteReturns: The result of the fetchSchemefulSite call.
|
|
361
|
+
"""
|
|
362
|
+
return await self.client.send(method="Network.fetchSchemefulSite", params=params,session_id=session_id)
|
|
363
|
+
async def load_network_resource(self, params: Optional[loadNetworkResourceParameters]=None,session_id: Optional[str] = None) -> loadNetworkResourceReturns:
|
|
364
|
+
"""
|
|
365
|
+
Fetches the resource and returns the content.
|
|
366
|
+
Args:
|
|
367
|
+
params (loadNetworkResourceParameters, optional): Parameters for the loadNetworkResource method.
|
|
368
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
369
|
+
|
|
370
|
+
Returns:
|
|
371
|
+
loadNetworkResourceReturns: The result of the loadNetworkResource call.
|
|
372
|
+
"""
|
|
373
|
+
return await self.client.send(method="Network.loadNetworkResource", params=params,session_id=session_id)
|
|
374
|
+
async def set_cookie_controls(self, params: Optional[setCookieControlsParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
375
|
+
"""
|
|
376
|
+
Sets Controls for third-party cookie access Page reload is required before the new cookie behavior will be observed
|
|
377
|
+
Args:
|
|
378
|
+
params (setCookieControlsParameters, optional): Parameters for the setCookieControls method.
|
|
379
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
380
|
+
|
|
381
|
+
Returns:
|
|
382
|
+
Dict[str, Any]: The result of the setCookieControls call.
|
|
383
|
+
"""
|
|
384
|
+
return await self.client.send(method="Network.setCookieControls", params=params,session_id=session_id)
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
"""CDP Network Methods Types"""
|
|
2
|
+
|
|
3
|
+
from typing import TypedDict, NotRequired, Required, Literal, Any, Dict, Union, Optional, List, Set, Tuple
|
|
4
|
+
|
|
5
|
+
from typing import TYPE_CHECKING
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
from cdp.protocol.debugger.types import SearchMatch
|
|
8
|
+
from cdp.protocol.emulation.types import UserAgentMetadata
|
|
9
|
+
from cdp.protocol.io.types import StreamHandle
|
|
10
|
+
from cdp.protocol.network.types import BlockPattern
|
|
11
|
+
from cdp.protocol.network.types import ConnectionType
|
|
12
|
+
from cdp.protocol.network.types import ContentEncoding
|
|
13
|
+
from cdp.protocol.network.types import Cookie
|
|
14
|
+
from cdp.protocol.network.types import CookieParam
|
|
15
|
+
from cdp.protocol.network.types import CookiePartitionKey
|
|
16
|
+
from cdp.protocol.network.types import CookiePriority
|
|
17
|
+
from cdp.protocol.network.types import CookieSameSite
|
|
18
|
+
from cdp.protocol.network.types import CookieSourceScheme
|
|
19
|
+
from cdp.protocol.network.types import Headers
|
|
20
|
+
from cdp.protocol.network.types import InterceptionId
|
|
21
|
+
from cdp.protocol.network.types import LoadNetworkResourceOptions
|
|
22
|
+
from cdp.protocol.network.types import LoadNetworkResourcePageResult
|
|
23
|
+
from cdp.protocol.network.types import NetworkConditions
|
|
24
|
+
from cdp.protocol.network.types import RequestId
|
|
25
|
+
from cdp.protocol.network.types import SecurityIsolationStatus
|
|
26
|
+
from cdp.protocol.network.types import TimeSinceEpoch
|
|
27
|
+
from cdp.protocol.page.types import FrameId
|
|
28
|
+
|
|
29
|
+
class setAcceptedEncodingsParameters(TypedDict, total=True):
|
|
30
|
+
encodings: 'List[ContentEncoding]'
|
|
31
|
+
"""List of accepted content encodings."""
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class deleteCookiesParameters(TypedDict, total=True):
|
|
36
|
+
name: 'str'
|
|
37
|
+
"""Name of the cookies to remove."""
|
|
38
|
+
url: NotRequired['str']
|
|
39
|
+
"""If specified, deletes all the cookies with the given name where domain and path match provided URL."""
|
|
40
|
+
domain: NotRequired['str']
|
|
41
|
+
"""If specified, deletes only cookies with the exact domain."""
|
|
42
|
+
path: NotRequired['str']
|
|
43
|
+
"""If specified, deletes only cookies with the exact path."""
|
|
44
|
+
partitionKey: NotRequired['CookiePartitionKey']
|
|
45
|
+
"""If specified, deletes only cookies with the the given name and partitionKey where all partition key attributes match the cookie partition key attribute."""
|
|
46
|
+
|
|
47
|
+
class emulateNetworkConditionsByRuleParameters(TypedDict, total=True):
|
|
48
|
+
offline: 'bool'
|
|
49
|
+
"""True to emulate internet disconnection."""
|
|
50
|
+
matchedNetworkConditions: 'List[NetworkConditions]'
|
|
51
|
+
"""Configure conditions for matching requests. If multiple entries match a request, the first entry wins. Global conditions can be configured by leaving the urlPattern for the conditions empty. These global conditions are also applied for throttling of p2p connections."""
|
|
52
|
+
class overrideNetworkStateParameters(TypedDict, total=True):
|
|
53
|
+
offline: 'bool'
|
|
54
|
+
"""True to emulate internet disconnection."""
|
|
55
|
+
latency: 'float'
|
|
56
|
+
"""Minimum latency from request sent to response headers received (ms)."""
|
|
57
|
+
downloadThroughput: 'float'
|
|
58
|
+
"""Maximal aggregated download throughput (bytes/sec). -1 disables download throttling."""
|
|
59
|
+
uploadThroughput: 'float'
|
|
60
|
+
"""Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling."""
|
|
61
|
+
connectionType: NotRequired['ConnectionType']
|
|
62
|
+
"""Connection type if known."""
|
|
63
|
+
class enableParameters(TypedDict, total=False):
|
|
64
|
+
maxTotalBufferSize: NotRequired['int']
|
|
65
|
+
"""Buffer size in bytes to use when preserving network payloads (XHRs, etc)."""
|
|
66
|
+
maxResourceBufferSize: NotRequired['int']
|
|
67
|
+
"""Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc)."""
|
|
68
|
+
maxPostDataSize: NotRequired['int']
|
|
69
|
+
"""Longest post body size (in bytes) that would be included in requestWillBeSent notification"""
|
|
70
|
+
reportDirectSocketTraffic: NotRequired['bool']
|
|
71
|
+
"""Whether DirectSocket chunk send/receive events should be reported."""
|
|
72
|
+
enableDurableMessages: NotRequired['bool']
|
|
73
|
+
"""Enable storing response bodies outside of renderer, so that these survive a cross-process navigation. Requires maxTotalBufferSize to be set. Currently defaults to false. This field is being deprecated in favor of the dedicated configureDurableMessages command, due to the possibility of deadlocks when awaiting Network.enable before issuing Runtime.runIfWaitingForDebugger."""
|
|
74
|
+
class configureDurableMessagesParameters(TypedDict, total=False):
|
|
75
|
+
maxTotalBufferSize: NotRequired['int']
|
|
76
|
+
"""Buffer size in bytes to use when preserving network payloads (XHRs, etc)."""
|
|
77
|
+
maxResourceBufferSize: NotRequired['int']
|
|
78
|
+
"""Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc)."""
|
|
79
|
+
class getCertificateParameters(TypedDict, total=True):
|
|
80
|
+
origin: 'str'
|
|
81
|
+
"""Origin to get certificate for."""
|
|
82
|
+
class getCookiesParameters(TypedDict, total=False):
|
|
83
|
+
urls: NotRequired['List[str]']
|
|
84
|
+
"""The list of URLs for which applicable cookies will be fetched. If not specified, it's assumed to be set to the list containing the URLs of the page and all of its subframes."""
|
|
85
|
+
class getResponseBodyParameters(TypedDict, total=True):
|
|
86
|
+
requestId: 'RequestId'
|
|
87
|
+
"""Identifier of the network request to get content for."""
|
|
88
|
+
class getRequestPostDataParameters(TypedDict, total=True):
|
|
89
|
+
requestId: 'RequestId'
|
|
90
|
+
"""Identifier of the network request to get content for."""
|
|
91
|
+
class getResponseBodyForInterceptionParameters(TypedDict, total=True):
|
|
92
|
+
interceptionId: 'InterceptionId'
|
|
93
|
+
"""Identifier for the intercepted request to get body for."""
|
|
94
|
+
class takeResponseBodyForInterceptionAsStreamParameters(TypedDict, total=True):
|
|
95
|
+
interceptionId: 'InterceptionId'
|
|
96
|
+
class replayXHRParameters(TypedDict, total=True):
|
|
97
|
+
requestId: 'RequestId'
|
|
98
|
+
"""Identifier of XHR to replay."""
|
|
99
|
+
class searchInResponseBodyParameters(TypedDict, total=True):
|
|
100
|
+
requestId: 'RequestId'
|
|
101
|
+
"""Identifier of the network response to search."""
|
|
102
|
+
query: 'str'
|
|
103
|
+
"""String to search for."""
|
|
104
|
+
caseSensitive: NotRequired['bool']
|
|
105
|
+
"""If true, search is case sensitive."""
|
|
106
|
+
isRegex: NotRequired['bool']
|
|
107
|
+
"""If true, treats string parameter as regex."""
|
|
108
|
+
class setBlockedURLsParameters(TypedDict, total=False):
|
|
109
|
+
urlPatterns: NotRequired['List[BlockPattern]']
|
|
110
|
+
"""Patterns to match in the order in which they are given. These patterns also take precedence over any wildcard patterns defined in urls."""
|
|
111
|
+
urls: NotRequired['List[str]']
|
|
112
|
+
"""URL patterns to block. Wildcards ('*') are allowed."""
|
|
113
|
+
class setBypassServiceWorkerParameters(TypedDict, total=True):
|
|
114
|
+
bypass: 'bool'
|
|
115
|
+
"""Bypass service worker and load from network."""
|
|
116
|
+
class setCacheDisabledParameters(TypedDict, total=True):
|
|
117
|
+
cacheDisabled: 'bool'
|
|
118
|
+
"""Cache disabled state."""
|
|
119
|
+
class setCookieParameters(TypedDict, total=True):
|
|
120
|
+
name: 'str'
|
|
121
|
+
"""Cookie name."""
|
|
122
|
+
value: 'str'
|
|
123
|
+
"""Cookie value."""
|
|
124
|
+
url: NotRequired['str']
|
|
125
|
+
"""The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie."""
|
|
126
|
+
domain: NotRequired['str']
|
|
127
|
+
"""Cookie domain."""
|
|
128
|
+
path: NotRequired['str']
|
|
129
|
+
"""Cookie path."""
|
|
130
|
+
secure: NotRequired['bool']
|
|
131
|
+
"""True if cookie is secure."""
|
|
132
|
+
httpOnly: NotRequired['bool']
|
|
133
|
+
"""True if cookie is http-only."""
|
|
134
|
+
sameSite: NotRequired['CookieSameSite']
|
|
135
|
+
"""Cookie SameSite type."""
|
|
136
|
+
expires: NotRequired['TimeSinceEpoch']
|
|
137
|
+
"""Cookie expiration date, session cookie if not set"""
|
|
138
|
+
priority: NotRequired['CookiePriority']
|
|
139
|
+
"""Cookie Priority type."""
|
|
140
|
+
sourceScheme: NotRequired['CookieSourceScheme']
|
|
141
|
+
"""Cookie source scheme type."""
|
|
142
|
+
sourcePort: NotRequired['int']
|
|
143
|
+
"""Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future."""
|
|
144
|
+
partitionKey: NotRequired['CookiePartitionKey']
|
|
145
|
+
"""Cookie partition key. If not set, the cookie will be set as not partitioned."""
|
|
146
|
+
class setCookiesParameters(TypedDict, total=True):
|
|
147
|
+
cookies: 'List[CookieParam]'
|
|
148
|
+
"""Cookies to be set."""
|
|
149
|
+
class setExtraHTTPHeadersParameters(TypedDict, total=True):
|
|
150
|
+
headers: 'Headers'
|
|
151
|
+
"""Map with extra HTTP headers."""
|
|
152
|
+
class setAttachDebugStackParameters(TypedDict, total=True):
|
|
153
|
+
enabled: 'bool'
|
|
154
|
+
"""Whether to attach a page script stack for debugging purpose."""
|
|
155
|
+
class setUserAgentOverrideParameters(TypedDict, total=True):
|
|
156
|
+
userAgent: 'str'
|
|
157
|
+
"""User agent to use."""
|
|
158
|
+
acceptLanguage: NotRequired['str']
|
|
159
|
+
"""Browser language to emulate."""
|
|
160
|
+
platform: NotRequired['str']
|
|
161
|
+
"""The platform navigator.platform should return."""
|
|
162
|
+
userAgentMetadata: NotRequired['UserAgentMetadata']
|
|
163
|
+
"""To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData"""
|
|
164
|
+
class streamResourceContentParameters(TypedDict, total=True):
|
|
165
|
+
requestId: 'RequestId'
|
|
166
|
+
"""Identifier of the request to stream."""
|
|
167
|
+
class getSecurityIsolationStatusParameters(TypedDict, total=False):
|
|
168
|
+
frameId: NotRequired['FrameId']
|
|
169
|
+
"""If no frameId is provided, the status of the target is provided."""
|
|
170
|
+
class enableReportingApiParameters(TypedDict, total=True):
|
|
171
|
+
enable: 'bool'
|
|
172
|
+
"""Whether to enable or disable events for the Reporting API"""
|
|
173
|
+
class enableDeviceBoundSessionsParameters(TypedDict, total=True):
|
|
174
|
+
enable: 'bool'
|
|
175
|
+
"""Whether to enable or disable events."""
|
|
176
|
+
class fetchSchemefulSiteParameters(TypedDict, total=True):
|
|
177
|
+
origin: 'str'
|
|
178
|
+
"""The URL origin."""
|
|
179
|
+
class loadNetworkResourceParameters(TypedDict, total=True):
|
|
180
|
+
url: 'str'
|
|
181
|
+
"""URL of the resource to get content for."""
|
|
182
|
+
options: 'LoadNetworkResourceOptions'
|
|
183
|
+
"""Options for the request."""
|
|
184
|
+
frameId: NotRequired['FrameId']
|
|
185
|
+
"""Frame id to get the resource for. Mandatory for frame targets, and should be omitted for worker targets."""
|
|
186
|
+
class setCookieControlsParameters(TypedDict, total=True):
|
|
187
|
+
enableThirdPartyCookieRestriction: 'bool'
|
|
188
|
+
"""Whether 3pc restriction is enabled."""
|
|
189
|
+
disableThirdPartyCookieMetadata: 'bool'
|
|
190
|
+
"""Whether 3pc grace period exception should be enabled; false by default."""
|
|
191
|
+
disableThirdPartyCookieHeuristics: 'bool'
|
|
192
|
+
"""Whether 3pc heuristics exceptions should be enabled; false by default."""
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
class emulateNetworkConditionsByRuleReturns(TypedDict):
|
|
200
|
+
ruleIds: 'List[str]'
|
|
201
|
+
"""An id for each entry in matchedNetworkConditions. The id will be included in the requestWillBeSentExtraInfo for requests affected by a rule."""
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
class getCertificateReturns(TypedDict):
|
|
206
|
+
tableNames: 'List[str]'
|
|
207
|
+
class getCookiesReturns(TypedDict):
|
|
208
|
+
cookies: 'List[Cookie]'
|
|
209
|
+
"""Array of cookie objects."""
|
|
210
|
+
class getResponseBodyReturns(TypedDict):
|
|
211
|
+
body: 'str'
|
|
212
|
+
"""Response body."""
|
|
213
|
+
base64Encoded: 'bool'
|
|
214
|
+
"""True, if content was sent as base64."""
|
|
215
|
+
class getRequestPostDataReturns(TypedDict):
|
|
216
|
+
postData: 'str'
|
|
217
|
+
"""Request body string, omitting files from multipart requests"""
|
|
218
|
+
base64Encoded: 'bool'
|
|
219
|
+
"""True, if content was sent as base64."""
|
|
220
|
+
class getResponseBodyForInterceptionReturns(TypedDict):
|
|
221
|
+
body: 'str'
|
|
222
|
+
"""Response body."""
|
|
223
|
+
base64Encoded: 'bool'
|
|
224
|
+
"""True, if content was sent as base64."""
|
|
225
|
+
class takeResponseBodyForInterceptionAsStreamReturns(TypedDict):
|
|
226
|
+
stream: 'StreamHandle'
|
|
227
|
+
|
|
228
|
+
class searchInResponseBodyReturns(TypedDict):
|
|
229
|
+
result: 'List[SearchMatch]'
|
|
230
|
+
"""List of search matches."""
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
class setCookieReturns(TypedDict):
|
|
235
|
+
success: 'bool'
|
|
236
|
+
"""Always set to true. If an error occurs, the response indicates protocol error."""
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
class streamResourceContentReturns(TypedDict):
|
|
242
|
+
bufferedData: 'str'
|
|
243
|
+
"""Data that has been buffered until streaming is enabled. (Encoded as a base64 string when passed over JSON)"""
|
|
244
|
+
class getSecurityIsolationStatusReturns(TypedDict):
|
|
245
|
+
status: 'SecurityIsolationStatus'
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
class fetchSchemefulSiteReturns(TypedDict):
|
|
249
|
+
schemefulSite: 'str'
|
|
250
|
+
"""The corresponding schemeful site."""
|
|
251
|
+
class loadNetworkResourceReturns(TypedDict):
|
|
252
|
+
resource: 'LoadNetworkResourcePageResult'
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"""CDP Network Domain"""
|
|
2
|
+
from typing import TYPE_CHECKING
|
|
3
|
+
from .methods.service import NetworkMethods
|
|
4
|
+
from .events.service import NetworkEvents
|
|
5
|
+
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
from ...service import Client
|
|
8
|
+
|
|
9
|
+
class Network(NetworkMethods, NetworkEvents):
|
|
10
|
+
"""
|
|
11
|
+
Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and responses, their headers, bodies, timing, etc.
|
|
12
|
+
"""
|
|
13
|
+
def __init__(self, client: "Client"):
|
|
14
|
+
"""
|
|
15
|
+
Initialize the Network domain.
|
|
16
|
+
|
|
17
|
+
Args:
|
|
18
|
+
client ("Client"): The parent CDP client instance.
|
|
19
|
+
"""
|
|
20
|
+
NetworkMethods.__init__(self, client)
|
|
21
|
+
NetworkEvents.__init__(self, client)
|