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,379 @@
|
|
|
1
|
+
"""CDP Page 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.network.types import LoaderId
|
|
8
|
+
from cdp.protocol.network.types import ResourceType
|
|
9
|
+
from cdp.protocol.network.types import TimeSinceEpoch
|
|
10
|
+
from cdp.protocol.runtime.types import ScriptId
|
|
11
|
+
from cdp.protocol.runtime.types import UniqueDebuggerId
|
|
12
|
+
|
|
13
|
+
FrameId = str
|
|
14
|
+
"""Unique frame identifier."""
|
|
15
|
+
AdFrameType = Literal['none','child','root']
|
|
16
|
+
"""Indicates whether a frame has been identified as an ad."""
|
|
17
|
+
AdFrameExplanation = Literal['ParentIsAd','CreatedByAdScript','MatchedBlockingRule']
|
|
18
|
+
class AdFrameStatus(TypedDict, total=True):
|
|
19
|
+
"""Indicates whether a frame has been identified as an ad and why."""
|
|
20
|
+
adFrameType: 'AdFrameType'
|
|
21
|
+
explanations: NotRequired['List[AdFrameExplanation]']
|
|
22
|
+
class AdScriptId(TypedDict, total=True):
|
|
23
|
+
"""Identifies the script which caused a script or frame to be labelled as an ad."""
|
|
24
|
+
scriptId: 'ScriptId'
|
|
25
|
+
"""Script Id of the script which caused a script or frame to be labelled as an ad."""
|
|
26
|
+
debuggerId: 'UniqueDebuggerId'
|
|
27
|
+
"""Id of scriptId's debugger."""
|
|
28
|
+
class AdScriptAncestry(TypedDict, total=True):
|
|
29
|
+
"""Encapsulates the script ancestry and the root script filterlist rule that caused the frame to be labelled as an ad. Only created when ancestryChain is not empty."""
|
|
30
|
+
ancestryChain: 'List[AdScriptId]'
|
|
31
|
+
"""A chain of AdScriptIds representing the ancestry of an ad script that led to the creation of a frame. The chain is ordered from the script itself (lower level) up to its root ancestor that was flagged by filterlist."""
|
|
32
|
+
rootScriptFilterlistRule: NotRequired['str']
|
|
33
|
+
"""The filterlist rule that caused the root (last) script in ancestryChain to be ad-tagged. Only populated if the rule is available."""
|
|
34
|
+
SecureContextType = Literal['Secure','SecureLocalhost','InsecureScheme','InsecureAncestor']
|
|
35
|
+
"""Indicates whether the frame is a secure context and why it is the case."""
|
|
36
|
+
CrossOriginIsolatedContextType = Literal['Isolated','NotIsolated','NotIsolatedFeatureDisabled']
|
|
37
|
+
"""Indicates whether the frame is cross-origin isolated and why it is the case."""
|
|
38
|
+
GatedAPIFeatures = Literal['SharedArrayBuffers','SharedArrayBuffersTransferAllowed','PerformanceMeasureMemory','PerformanceProfile']
|
|
39
|
+
PermissionsPolicyFeature = Literal['accelerometer','all-screens-capture','ambient-light-sensor','aria-notify','attribution-reporting','autofill','autoplay','bluetooth','browsing-topics','camera','captured-surface-control','ch-dpr','ch-device-memory','ch-downlink','ch-ect','ch-prefers-color-scheme','ch-prefers-reduced-motion','ch-prefers-reduced-transparency','ch-rtt','ch-save-data','ch-ua','ch-ua-arch','ch-ua-bitness','ch-ua-high-entropy-values','ch-ua-platform','ch-ua-model','ch-ua-mobile','ch-ua-form-factors','ch-ua-full-version','ch-ua-full-version-list','ch-ua-platform-version','ch-ua-wow64','ch-viewport-height','ch-viewport-width','ch-width','clipboard-read','clipboard-write','compute-pressure','controlled-frame','cross-origin-isolated','deferred-fetch','deferred-fetch-minimal','device-attributes','digital-credentials-create','digital-credentials-get','direct-sockets','direct-sockets-multicast','direct-sockets-private','display-capture','document-domain','encrypted-media','execution-while-out-of-viewport','execution-while-not-rendered','fenced-unpartitioned-storage-read','focus-without-user-activation','fullscreen','frobulate','gamepad','geolocation','gyroscope','hid','identity-credentials-get','idle-detection','interest-cohort','join-ad-interest-group','keyboard-map','language-detector','language-model','local-fonts','local-network','local-network-access','loopback-network','magnetometer','manual-text','media-playback-while-not-visible','microphone','midi','on-device-speech-recognition','otp-credentials','payment','picture-in-picture','private-aggregation','private-state-token-issuance','private-state-token-redemption','publickey-credentials-create','publickey-credentials-get','record-ad-auction-events','rewriter','run-ad-auction','screen-wake-lock','serial','shared-storage','shared-storage-select-url','smart-card','speaker-selection','storage-access','sub-apps','summarizer','sync-xhr','translator','unload','usb','usb-unrestricted','vertical-scroll','web-app-installation','web-printing','web-share','window-management','writer','xr-spatial-tracking']
|
|
40
|
+
"""All Permissions Policy features. This enum should match the one defined in services/network/public/cpp/permissions_policy/permissions_policy_features.json5. LINT.IfChange(PermissionsPolicyFeature)"""
|
|
41
|
+
PermissionsPolicyBlockReason = Literal['Header','IframeAttribute','InFencedFrameTree','InIsolatedApp']
|
|
42
|
+
"""Reason for a permissions policy feature to be disabled."""
|
|
43
|
+
class PermissionsPolicyBlockLocator(TypedDict, total=True):
|
|
44
|
+
frameId: 'FrameId'
|
|
45
|
+
blockReason: 'PermissionsPolicyBlockReason'
|
|
46
|
+
class PermissionsPolicyFeatureState(TypedDict, total=True):
|
|
47
|
+
feature: 'PermissionsPolicyFeature'
|
|
48
|
+
allowed: 'bool'
|
|
49
|
+
locator: NotRequired['PermissionsPolicyBlockLocator']
|
|
50
|
+
OriginTrialTokenStatus = Literal['Success','NotSupported','Insecure','Expired','WrongOrigin','InvalidSignature','Malformed','WrongVersion','FeatureDisabled','TokenDisabled','FeatureDisabledForUser','UnknownTrial']
|
|
51
|
+
"""Origin Trial(https://www.chromium.org/blink/origin-trials) support. Status for an Origin Trial token."""
|
|
52
|
+
OriginTrialStatus = Literal['Enabled','ValidTokenNotProvided','OSNotSupported','TrialNotAllowed']
|
|
53
|
+
"""Status for an Origin Trial."""
|
|
54
|
+
OriginTrialUsageRestriction = Literal['None','Subset']
|
|
55
|
+
class OriginTrialToken(TypedDict, total=True):
|
|
56
|
+
origin: 'str'
|
|
57
|
+
matchSubDomains: 'bool'
|
|
58
|
+
trialName: 'str'
|
|
59
|
+
expiryTime: 'TimeSinceEpoch'
|
|
60
|
+
isThirdParty: 'bool'
|
|
61
|
+
usageRestriction: 'OriginTrialUsageRestriction'
|
|
62
|
+
class OriginTrialTokenWithStatus(TypedDict, total=True):
|
|
63
|
+
rawTokenText: 'str'
|
|
64
|
+
status: 'OriginTrialTokenStatus'
|
|
65
|
+
parsedToken: NotRequired['OriginTrialToken']
|
|
66
|
+
"""parsedToken is present only when the token is extractable and parsable."""
|
|
67
|
+
class OriginTrial(TypedDict, total=True):
|
|
68
|
+
trialName: 'str'
|
|
69
|
+
status: 'OriginTrialStatus'
|
|
70
|
+
tokensWithStatus: 'List[OriginTrialTokenWithStatus]'
|
|
71
|
+
class SecurityOriginDetails(TypedDict, total=True):
|
|
72
|
+
"""Additional information about the frame document's security origin."""
|
|
73
|
+
isLocalhost: 'bool'
|
|
74
|
+
"""Indicates whether the frame document's security origin is one of the local hostnames (e.g. localhost) or IP addresses (IPv4 127.0.0.0/8 or IPv6 ::1)."""
|
|
75
|
+
class Frame(TypedDict, total=True):
|
|
76
|
+
"""Information about the Frame on the page."""
|
|
77
|
+
id: 'FrameId'
|
|
78
|
+
"""Frame unique identifier."""
|
|
79
|
+
loaderId: 'LoaderId'
|
|
80
|
+
"""Identifier of the loader associated with this frame."""
|
|
81
|
+
url: 'str'
|
|
82
|
+
"""Frame document's URL without fragment."""
|
|
83
|
+
domainAndRegistry: 'str'
|
|
84
|
+
"""Frame document's registered domain, taking the public suffixes list into account. Extracted from the Frame's url. Example URLs: http://www.google.com/file.html -> google.com http://a.b.co.uk/file.html -> b.co.uk"""
|
|
85
|
+
securityOrigin: 'str'
|
|
86
|
+
"""Frame document's security origin."""
|
|
87
|
+
mimeType: 'str'
|
|
88
|
+
"""Frame document's mimeType as determined by the browser."""
|
|
89
|
+
secureContextType: 'SecureContextType'
|
|
90
|
+
"""Indicates whether the main document is a secure context and explains why that is the case."""
|
|
91
|
+
crossOriginIsolatedContextType: 'CrossOriginIsolatedContextType'
|
|
92
|
+
"""Indicates whether this is a cross origin isolated context."""
|
|
93
|
+
gatedAPIFeatures: 'List[GatedAPIFeatures]'
|
|
94
|
+
"""Indicated which gated APIs / features are available."""
|
|
95
|
+
parentId: NotRequired['FrameId']
|
|
96
|
+
"""Parent frame identifier."""
|
|
97
|
+
name: NotRequired['str']
|
|
98
|
+
"""Frame's name as specified in the tag."""
|
|
99
|
+
urlFragment: NotRequired['str']
|
|
100
|
+
"""Frame document's URL fragment including the '#'."""
|
|
101
|
+
securityOriginDetails: NotRequired['SecurityOriginDetails']
|
|
102
|
+
"""Additional details about the frame document's security origin."""
|
|
103
|
+
unreachableUrl: NotRequired['str']
|
|
104
|
+
"""If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment."""
|
|
105
|
+
adFrameStatus: NotRequired['AdFrameStatus']
|
|
106
|
+
"""Indicates whether this frame was tagged as an ad and why."""
|
|
107
|
+
class FrameResource(TypedDict, total=True):
|
|
108
|
+
"""Information about the Resource on the page."""
|
|
109
|
+
url: 'str'
|
|
110
|
+
"""Resource URL."""
|
|
111
|
+
type: 'ResourceType'
|
|
112
|
+
"""Type of this resource."""
|
|
113
|
+
mimeType: 'str'
|
|
114
|
+
"""Resource mimeType as determined by the browser."""
|
|
115
|
+
lastModified: NotRequired['TimeSinceEpoch']
|
|
116
|
+
"""last-modified timestamp as reported by server."""
|
|
117
|
+
contentSize: NotRequired['float']
|
|
118
|
+
"""Resource content size."""
|
|
119
|
+
failed: NotRequired['bool']
|
|
120
|
+
"""True if the resource failed to load."""
|
|
121
|
+
canceled: NotRequired['bool']
|
|
122
|
+
"""True if the resource was canceled during loading."""
|
|
123
|
+
class FrameResourceTree(TypedDict, total=True):
|
|
124
|
+
"""Information about the Frame hierarchy along with their cached resources."""
|
|
125
|
+
frame: 'Frame'
|
|
126
|
+
"""Frame information for this tree item."""
|
|
127
|
+
resources: 'List[FrameResource]'
|
|
128
|
+
"""Information about frame resources."""
|
|
129
|
+
childFrames: NotRequired['List[FrameResourceTree]']
|
|
130
|
+
"""Child frames."""
|
|
131
|
+
class FrameTree(TypedDict, total=True):
|
|
132
|
+
"""Information about the Frame hierarchy."""
|
|
133
|
+
frame: 'Frame'
|
|
134
|
+
"""Frame information for this tree item."""
|
|
135
|
+
childFrames: NotRequired['List[FrameTree]']
|
|
136
|
+
"""Child frames."""
|
|
137
|
+
ScriptIdentifier = str
|
|
138
|
+
"""Unique script identifier."""
|
|
139
|
+
TransitionType = Literal['link','typed','address_bar','auto_bookmark','auto_subframe','manual_subframe','generated','auto_toplevel','form_submit','reload','keyword','keyword_generated','other']
|
|
140
|
+
"""Transition type."""
|
|
141
|
+
class NavigationEntry(TypedDict, total=True):
|
|
142
|
+
"""Navigation history entry."""
|
|
143
|
+
id: 'int'
|
|
144
|
+
"""Unique id of the navigation history entry."""
|
|
145
|
+
url: 'str'
|
|
146
|
+
"""URL of the navigation history entry."""
|
|
147
|
+
userTypedURL: 'str'
|
|
148
|
+
"""URL that the user typed in the url bar."""
|
|
149
|
+
title: 'str'
|
|
150
|
+
"""Title of the navigation history entry."""
|
|
151
|
+
transitionType: 'TransitionType'
|
|
152
|
+
"""Transition type."""
|
|
153
|
+
class ScreencastFrameMetadata(TypedDict, total=True):
|
|
154
|
+
"""Screencast frame metadata."""
|
|
155
|
+
offsetTop: 'float'
|
|
156
|
+
"""Top offset in DIP."""
|
|
157
|
+
pageScaleFactor: 'float'
|
|
158
|
+
"""Page scale factor."""
|
|
159
|
+
deviceWidth: 'float'
|
|
160
|
+
"""Device screen width in DIP."""
|
|
161
|
+
deviceHeight: 'float'
|
|
162
|
+
"""Device screen height in DIP."""
|
|
163
|
+
scrollOffsetX: 'float'
|
|
164
|
+
"""Position of horizontal scroll in CSS pixels."""
|
|
165
|
+
scrollOffsetY: 'float'
|
|
166
|
+
"""Position of vertical scroll in CSS pixels."""
|
|
167
|
+
timestamp: NotRequired['TimeSinceEpoch']
|
|
168
|
+
"""Frame swap timestamp."""
|
|
169
|
+
DialogType = Literal['alert','confirm','prompt','beforeunload']
|
|
170
|
+
"""Javascript dialog type."""
|
|
171
|
+
class AppManifestError(TypedDict, total=True):
|
|
172
|
+
"""Error while paring app manifest."""
|
|
173
|
+
message: 'str'
|
|
174
|
+
"""Error message."""
|
|
175
|
+
critical: 'int'
|
|
176
|
+
"""If critical, this is a non-recoverable parse error."""
|
|
177
|
+
line: 'int'
|
|
178
|
+
"""Error line."""
|
|
179
|
+
column: 'int'
|
|
180
|
+
"""Error column."""
|
|
181
|
+
class AppManifestParsedProperties(TypedDict, total=True):
|
|
182
|
+
"""Parsed app manifest properties."""
|
|
183
|
+
scope: 'str'
|
|
184
|
+
"""Computed scope value"""
|
|
185
|
+
class LayoutViewport(TypedDict, total=True):
|
|
186
|
+
"""Layout viewport position and dimensions."""
|
|
187
|
+
pageX: 'int'
|
|
188
|
+
"""Horizontal offset relative to the document (CSS pixels)."""
|
|
189
|
+
pageY: 'int'
|
|
190
|
+
"""Vertical offset relative to the document (CSS pixels)."""
|
|
191
|
+
clientWidth: 'int'
|
|
192
|
+
"""Width (CSS pixels), excludes scrollbar if present."""
|
|
193
|
+
clientHeight: 'int'
|
|
194
|
+
"""Height (CSS pixels), excludes scrollbar if present."""
|
|
195
|
+
class VisualViewport(TypedDict, total=True):
|
|
196
|
+
"""Visual viewport position, dimensions, and scale."""
|
|
197
|
+
offsetX: 'float'
|
|
198
|
+
"""Horizontal offset relative to the layout viewport (CSS pixels)."""
|
|
199
|
+
offsetY: 'float'
|
|
200
|
+
"""Vertical offset relative to the layout viewport (CSS pixels)."""
|
|
201
|
+
pageX: 'float'
|
|
202
|
+
"""Horizontal offset relative to the document (CSS pixels)."""
|
|
203
|
+
pageY: 'float'
|
|
204
|
+
"""Vertical offset relative to the document (CSS pixels)."""
|
|
205
|
+
clientWidth: 'float'
|
|
206
|
+
"""Width (CSS pixels), excludes scrollbar if present."""
|
|
207
|
+
clientHeight: 'float'
|
|
208
|
+
"""Height (CSS pixels), excludes scrollbar if present."""
|
|
209
|
+
scale: 'float'
|
|
210
|
+
"""Scale relative to the ideal viewport (size at width=device-width)."""
|
|
211
|
+
zoom: NotRequired['float']
|
|
212
|
+
"""Page zoom factor (CSS to device independent pixels ratio)."""
|
|
213
|
+
class Viewport(TypedDict, total=True):
|
|
214
|
+
"""Viewport for capturing screenshot."""
|
|
215
|
+
x: 'float'
|
|
216
|
+
"""X offset in device independent pixels (dip)."""
|
|
217
|
+
y: 'float'
|
|
218
|
+
"""Y offset in device independent pixels (dip)."""
|
|
219
|
+
width: 'float'
|
|
220
|
+
"""Rectangle width in device independent pixels (dip)."""
|
|
221
|
+
height: 'float'
|
|
222
|
+
"""Rectangle height in device independent pixels (dip)."""
|
|
223
|
+
scale: 'float'
|
|
224
|
+
"""Page scale factor."""
|
|
225
|
+
class FontFamilies(TypedDict, total=False):
|
|
226
|
+
"""Generic font families collection."""
|
|
227
|
+
standard: NotRequired['str']
|
|
228
|
+
"""The standard font-family."""
|
|
229
|
+
fixed: NotRequired['str']
|
|
230
|
+
"""The fixed font-family."""
|
|
231
|
+
serif: NotRequired['str']
|
|
232
|
+
"""The serif font-family."""
|
|
233
|
+
sansSerif: NotRequired['str']
|
|
234
|
+
"""The sansSerif font-family."""
|
|
235
|
+
cursive: NotRequired['str']
|
|
236
|
+
"""The cursive font-family."""
|
|
237
|
+
fantasy: NotRequired['str']
|
|
238
|
+
"""The fantasy font-family."""
|
|
239
|
+
math: NotRequired['str']
|
|
240
|
+
"""The math font-family."""
|
|
241
|
+
class ScriptFontFamilies(TypedDict, total=True):
|
|
242
|
+
"""Font families collection for a script."""
|
|
243
|
+
script: 'str'
|
|
244
|
+
"""Name of the script which these font families are defined for."""
|
|
245
|
+
fontFamilies: 'FontFamilies'
|
|
246
|
+
"""Generic font families collection for the script."""
|
|
247
|
+
class FontSizes(TypedDict, total=False):
|
|
248
|
+
"""Default font sizes."""
|
|
249
|
+
standard: NotRequired['int']
|
|
250
|
+
"""Default standard font size."""
|
|
251
|
+
fixed: NotRequired['int']
|
|
252
|
+
"""Default fixed font size."""
|
|
253
|
+
ClientNavigationReason = Literal['anchorClick','formSubmissionGet','formSubmissionPost','httpHeaderRefresh','initialFrameNavigation','metaTagRefresh','other','pageBlockInterstitial','reload','scriptInitiated']
|
|
254
|
+
ClientNavigationDisposition = Literal['currentTab','newTab','newWindow','download']
|
|
255
|
+
class InstallabilityErrorArgument(TypedDict, total=True):
|
|
256
|
+
name: 'str'
|
|
257
|
+
"""Argument name (e.g. name:'minimum-icon-size-in-pixels')."""
|
|
258
|
+
value: 'str'
|
|
259
|
+
"""Argument value (e.g. value:'64')."""
|
|
260
|
+
class InstallabilityError(TypedDict, total=True):
|
|
261
|
+
"""The installability error"""
|
|
262
|
+
errorId: 'str'
|
|
263
|
+
"""The error id (e.g. 'manifest-missing-suitable-icon')."""
|
|
264
|
+
errorArguments: 'List[InstallabilityErrorArgument]'
|
|
265
|
+
"""The list of error arguments (e.g. {name:'minimum-icon-size-in-pixels', value:'64'})."""
|
|
266
|
+
ReferrerPolicy = Literal['noReferrer','noReferrerWhenDowngrade','origin','originWhenCrossOrigin','sameOrigin','strictOrigin','strictOriginWhenCrossOrigin','unsafeUrl']
|
|
267
|
+
"""The referring-policy used for the navigation."""
|
|
268
|
+
class CompilationCacheParams(TypedDict, total=True):
|
|
269
|
+
"""Per-script compilation cache parameters for Page.produceCompilationCache"""
|
|
270
|
+
url: 'str'
|
|
271
|
+
"""The URL of the script to produce a compilation cache entry for."""
|
|
272
|
+
eager: NotRequired['bool']
|
|
273
|
+
"""A hint to the backend whether eager compilation is recommended. (the actual compilation mode used is upon backend discretion)."""
|
|
274
|
+
class FileFilter(TypedDict, total=False):
|
|
275
|
+
name: NotRequired['str']
|
|
276
|
+
accepts: NotRequired['List[str]']
|
|
277
|
+
class FileHandler(TypedDict, total=True):
|
|
278
|
+
action: 'str'
|
|
279
|
+
name: 'str'
|
|
280
|
+
launchType: 'str'
|
|
281
|
+
"""Won't repeat the enums, using string for easy comparison. Same as the other enums below."""
|
|
282
|
+
icons: NotRequired['List[ImageResource]']
|
|
283
|
+
accepts: NotRequired['List[FileFilter]']
|
|
284
|
+
"""Mimic a map, name is the key, accepts is the value."""
|
|
285
|
+
class ImageResource(TypedDict, total=True):
|
|
286
|
+
"""The image definition used in both icon and screenshot."""
|
|
287
|
+
url: 'str'
|
|
288
|
+
"""The src field in the definition, but changing to url in favor of consistency."""
|
|
289
|
+
sizes: NotRequired['str']
|
|
290
|
+
type: NotRequired['str']
|
|
291
|
+
class LaunchHandler(TypedDict, total=True):
|
|
292
|
+
clientMode: 'str'
|
|
293
|
+
class ProtocolHandler(TypedDict, total=True):
|
|
294
|
+
protocol: 'str'
|
|
295
|
+
url: 'str'
|
|
296
|
+
class RelatedApplication(TypedDict, total=True):
|
|
297
|
+
url: 'str'
|
|
298
|
+
id: NotRequired['str']
|
|
299
|
+
class ScopeExtension(TypedDict, total=True):
|
|
300
|
+
origin: 'str'
|
|
301
|
+
"""Instead of using tuple, this field always returns the serialized string for easy understanding and comparison."""
|
|
302
|
+
hasOriginWildcard: 'bool'
|
|
303
|
+
class Screenshot(TypedDict, total=True):
|
|
304
|
+
image: 'ImageResource'
|
|
305
|
+
formFactor: 'str'
|
|
306
|
+
label: NotRequired['str']
|
|
307
|
+
class ShareTarget(TypedDict, total=True):
|
|
308
|
+
action: 'str'
|
|
309
|
+
method: 'str'
|
|
310
|
+
enctype: 'str'
|
|
311
|
+
title: NotRequired['str']
|
|
312
|
+
"""Embed the ShareTargetParams"""
|
|
313
|
+
text: NotRequired['str']
|
|
314
|
+
url: NotRequired['str']
|
|
315
|
+
files: NotRequired['List[FileFilter]']
|
|
316
|
+
class Shortcut(TypedDict, total=True):
|
|
317
|
+
name: 'str'
|
|
318
|
+
url: 'str'
|
|
319
|
+
class WebAppManifest(TypedDict, total=False):
|
|
320
|
+
backgroundColor: NotRequired['str']
|
|
321
|
+
description: NotRequired['str']
|
|
322
|
+
"""The extra description provided by the manifest."""
|
|
323
|
+
dir: NotRequired['str']
|
|
324
|
+
display: NotRequired['str']
|
|
325
|
+
displayOverrides: NotRequired['List[str]']
|
|
326
|
+
"""The overrided display mode controlled by the user."""
|
|
327
|
+
fileHandlers: NotRequired['List[FileHandler]']
|
|
328
|
+
"""The handlers to open files."""
|
|
329
|
+
icons: NotRequired['List[ImageResource]']
|
|
330
|
+
id: NotRequired['str']
|
|
331
|
+
lang: NotRequired['str']
|
|
332
|
+
launchHandler: NotRequired['LaunchHandler']
|
|
333
|
+
"""TODO(crbug.com/1231886): This field is non-standard and part of a Chrome experiment. See: https://github.com/WICG/web-app-launch/blob/main/launch_handler.md"""
|
|
334
|
+
name: NotRequired['str']
|
|
335
|
+
orientation: NotRequired['str']
|
|
336
|
+
preferRelatedApplications: NotRequired['bool']
|
|
337
|
+
protocolHandlers: NotRequired['List[ProtocolHandler]']
|
|
338
|
+
"""The handlers to open protocols."""
|
|
339
|
+
relatedApplications: NotRequired['List[RelatedApplication]']
|
|
340
|
+
scope: NotRequired['str']
|
|
341
|
+
scopeExtensions: NotRequired['List[ScopeExtension]']
|
|
342
|
+
"""Non-standard, see https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-explainer.md"""
|
|
343
|
+
screenshots: NotRequired['List[Screenshot]']
|
|
344
|
+
"""The screenshots used by chromium."""
|
|
345
|
+
shareTarget: NotRequired['ShareTarget']
|
|
346
|
+
shortName: NotRequired['str']
|
|
347
|
+
shortcuts: NotRequired['List[Shortcut]']
|
|
348
|
+
startUrl: NotRequired['str']
|
|
349
|
+
themeColor: NotRequired['str']
|
|
350
|
+
NavigationType = Literal['Navigation','BackForwardCacheRestore']
|
|
351
|
+
"""The type of a frameNavigated event."""
|
|
352
|
+
BackForwardCacheNotRestoredReason = Literal['NotPrimaryMainFrame','BackForwardCacheDisabled','RelatedActiveContentsExist','HTTPStatusNotOK','SchemeNotHTTPOrHTTPS','Loading','WasGrantedMediaAccess','DisableForRenderFrameHostCalled','DomainNotAllowed','HTTPMethodNotGET','SubframeIsNavigating','Timeout','CacheLimit','JavaScriptExecution','RendererProcessKilled','RendererProcessCrashed','SchedulerTrackedFeatureUsed','ConflictingBrowsingInstance','CacheFlushed','ServiceWorkerVersionActivation','SessionRestored','ServiceWorkerPostMessage','EnteredBackForwardCacheBeforeServiceWorkerHostAdded','RenderFrameHostReused_SameSite','RenderFrameHostReused_CrossSite','ServiceWorkerClaim','IgnoreEventAndEvict','HaveInnerContents','TimeoutPuttingInCache','BackForwardCacheDisabledByLowMemory','BackForwardCacheDisabledByCommandLine','NetworkRequestDatapipeDrainedAsBytesConsumer','NetworkRequestRedirected','NetworkRequestTimeout','NetworkExceedsBufferLimit','NavigationCancelledWhileRestoring','NotMostRecentNavigationEntry','BackForwardCacheDisabledForPrerender','UserAgentOverrideDiffers','ForegroundCacheLimit','BrowsingInstanceNotSwapped','BackForwardCacheDisabledForDelegate','UnloadHandlerExistsInMainFrame','UnloadHandlerExistsInSubFrame','ServiceWorkerUnregistration','CacheControlNoStore','CacheControlNoStoreCookieModified','CacheControlNoStoreHTTPOnlyCookieModified','NoResponseHead','Unknown','ActivationNavigationsDisallowedForBug1234857','ErrorDocument','FencedFramesEmbedder','CookieDisabled','HTTPAuthRequired','CookieFlushed','BroadcastChannelOnMessage','WebViewSettingsChanged','WebViewJavaScriptObjectChanged','WebViewMessageListenerInjected','WebViewSafeBrowsingAllowlistChanged','WebViewDocumentStartJavascriptChanged','WebSocket','WebTransport','WebRTC','MainResourceHasCacheControlNoStore','MainResourceHasCacheControlNoCache','SubresourceHasCacheControlNoStore','SubresourceHasCacheControlNoCache','ContainsPlugins','DocumentLoaded','OutstandingNetworkRequestOthers','RequestedMIDIPermission','RequestedAudioCapturePermission','RequestedVideoCapturePermission','RequestedBackForwardCacheBlockedSensors','RequestedBackgroundWorkPermission','BroadcastChannel','WebXR','SharedWorker','SharedWorkerMessage','SharedWorkerWithNoActiveClient','WebLocks','WebHID','WebBluetooth','WebShare','RequestedStorageAccessGrant','WebNfc','OutstandingNetworkRequestFetch','OutstandingNetworkRequestXHR','AppBanner','Printing','WebDatabase','PictureInPicture','SpeechRecognizer','IdleManager','PaymentManager','SpeechSynthesis','KeyboardLock','WebOTPService','OutstandingNetworkRequestDirectSocket','InjectedJavascript','InjectedStyleSheet','KeepaliveRequest','IndexedDBEvent','Dummy','JsNetworkRequestReceivedCacheControlNoStoreResource','WebRTCUsedWithCCNS','WebTransportUsedWithCCNS','WebSocketUsedWithCCNS','SmartCard','LiveMediaStreamTrack','UnloadHandler','ParserAborted','ContentSecurityHandler','ContentWebAuthenticationAPI','ContentFileChooser','ContentSerial','ContentFileSystemAccess','ContentMediaDevicesDispatcherHost','ContentWebBluetooth','ContentWebUSB','ContentMediaSessionService','ContentScreenReader','ContentDiscarded','EmbedderPopupBlockerTabHelper','EmbedderSafeBrowsingTriggeredPopupBlocker','EmbedderSafeBrowsingThreatDetails','EmbedderAppBannerManager','EmbedderDomDistillerViewerSource','EmbedderDomDistillerSelfDeletingRequestDelegate','EmbedderOomInterventionTabHelper','EmbedderOfflinePage','EmbedderChromePasswordManagerClientBindCredentialManager','EmbedderPermissionRequestManager','EmbedderModalDialog','EmbedderExtensions','EmbedderExtensionMessaging','EmbedderExtensionMessagingForOpenPort','EmbedderExtensionSentMessageToCachedFrame','RequestedByWebViewClient','PostMessageByWebViewClient','CacheControlNoStoreDeviceBoundSessionTerminated','CacheLimitPrunedOnModerateMemoryPressure','CacheLimitPrunedOnCriticalMemoryPressure']
|
|
353
|
+
"""List of not restored reasons for back-forward cache."""
|
|
354
|
+
BackForwardCacheNotRestoredReasonType = Literal['SupportPending','PageSupportNeeded','Circumstantial']
|
|
355
|
+
"""Types of not restored reasons for back-forward cache."""
|
|
356
|
+
class BackForwardCacheBlockingDetails(TypedDict, total=True):
|
|
357
|
+
lineNumber: 'int'
|
|
358
|
+
"""Line number in the script (0-based)."""
|
|
359
|
+
columnNumber: 'int'
|
|
360
|
+
"""Column number in the script (0-based)."""
|
|
361
|
+
url: NotRequired['str']
|
|
362
|
+
"""Url of the file where blockage happened. Optional because of tests."""
|
|
363
|
+
function: NotRequired['str']
|
|
364
|
+
"""Function name where blockage happened. Optional because of anonymous functions and tests."""
|
|
365
|
+
class BackForwardCacheNotRestoredExplanation(TypedDict, total=True):
|
|
366
|
+
type: 'BackForwardCacheNotRestoredReasonType'
|
|
367
|
+
"""Type of the reason"""
|
|
368
|
+
reason: 'BackForwardCacheNotRestoredReason'
|
|
369
|
+
"""Not restored reason"""
|
|
370
|
+
context: NotRequired['str']
|
|
371
|
+
"""Context associated with the reason. The meaning of this context is dependent on the reason: - EmbedderExtensionSentMessageToCachedFrame: the extension ID."""
|
|
372
|
+
details: NotRequired['List[BackForwardCacheBlockingDetails]']
|
|
373
|
+
class BackForwardCacheNotRestoredExplanationTree(TypedDict, total=True):
|
|
374
|
+
url: 'str'
|
|
375
|
+
"""URL of each frame"""
|
|
376
|
+
explanations: 'List[BackForwardCacheNotRestoredExplanation]'
|
|
377
|
+
"""Not restored reasons of each frame"""
|
|
378
|
+
children: 'List[BackForwardCacheNotRestoredExplanationTree]'
|
|
379
|
+
"""Array of children frame"""
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""CDP Performance Domain Events"""
|
|
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 PerformanceEvents:
|
|
10
|
+
"""
|
|
11
|
+
Events for the Performance domain.
|
|
12
|
+
"""
|
|
13
|
+
def __init__(self, client: "Client"):
|
|
14
|
+
"""
|
|
15
|
+
Initialize the Performance events.
|
|
16
|
+
|
|
17
|
+
Args:
|
|
18
|
+
client ("Client"): The parent CDP client instance.
|
|
19
|
+
"""
|
|
20
|
+
self.client = client
|
|
21
|
+
|
|
22
|
+
def on_metrics(self, callback: Callable[[metricsEvent,Optional[str]], None]=None) -> None:
|
|
23
|
+
"""
|
|
24
|
+
Current values of the metrics.
|
|
25
|
+
Args:
|
|
26
|
+
callback (callable, optional): Function called when the event is fired.
|
|
27
|
+
The callback receives (params: metricsEvent, session_id: Optional[str]).
|
|
28
|
+
"""
|
|
29
|
+
self.client.on('Performance.metrics', callback)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""CDP Performance Events"""
|
|
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.performance.types import Metric
|
|
8
|
+
|
|
9
|
+
class metricsEvent(TypedDict, total=True):
|
|
10
|
+
metrics: 'List[Metric]'
|
|
11
|
+
"""Current values of the metrics."""
|
|
12
|
+
title: 'str'
|
|
13
|
+
"""Timestamp title."""
|
|
File without changes
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"""CDP Performance 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 PerformanceMethods:
|
|
10
|
+
"""
|
|
11
|
+
Methods for the Performance domain.
|
|
12
|
+
"""
|
|
13
|
+
def __init__(self, client: "Client"):
|
|
14
|
+
"""
|
|
15
|
+
Initialize the Performance methods.
|
|
16
|
+
|
|
17
|
+
Args:
|
|
18
|
+
client ("Client"): The parent CDP client instance.
|
|
19
|
+
"""
|
|
20
|
+
self.client = client
|
|
21
|
+
|
|
22
|
+
async def disable(self, params: None=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
23
|
+
"""
|
|
24
|
+
Disable collecting and reporting metrics.
|
|
25
|
+
Args:
|
|
26
|
+
params (None, optional): Parameters for the disable method.
|
|
27
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
28
|
+
|
|
29
|
+
Returns:
|
|
30
|
+
Dict[str, Any]: The result of the disable call.
|
|
31
|
+
"""
|
|
32
|
+
return await self.client.send(method="Performance.disable", params=params,session_id=session_id)
|
|
33
|
+
async def enable(self, params: Optional[enableParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
34
|
+
"""
|
|
35
|
+
Enable collecting and reporting metrics.
|
|
36
|
+
Args:
|
|
37
|
+
params (enableParameters, optional): Parameters for the enable method.
|
|
38
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
39
|
+
|
|
40
|
+
Returns:
|
|
41
|
+
Dict[str, Any]: The result of the enable call.
|
|
42
|
+
"""
|
|
43
|
+
return await self.client.send(method="Performance.enable", params=params,session_id=session_id)
|
|
44
|
+
async def get_metrics(self, params: None=None,session_id: Optional[str] = None) -> getMetricsReturns:
|
|
45
|
+
"""
|
|
46
|
+
Retrieve current values of run-time metrics.
|
|
47
|
+
Args:
|
|
48
|
+
params (None, optional): Parameters for the getMetrics method.
|
|
49
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
50
|
+
|
|
51
|
+
Returns:
|
|
52
|
+
getMetricsReturns: The result of the getMetrics call.
|
|
53
|
+
"""
|
|
54
|
+
return await self.client.send(method="Performance.getMetrics", params=params,session_id=session_id)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""CDP Performance 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.performance.types import Metric
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class enableParameters(TypedDict, total=False):
|
|
11
|
+
timeDomain: NotRequired['Literal["timeTicks", "threadTicks"]']
|
|
12
|
+
"""Time domain to use for collecting and reporting duration metrics."""
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class getMetricsReturns(TypedDict):
|
|
17
|
+
metrics: 'List[Metric]'
|
|
18
|
+
"""Current values for run-time metrics."""
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"""CDP Performance Domain"""
|
|
2
|
+
from typing import TYPE_CHECKING
|
|
3
|
+
from .methods.service import PerformanceMethods
|
|
4
|
+
from .events.service import PerformanceEvents
|
|
5
|
+
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
from ...service import Client
|
|
8
|
+
|
|
9
|
+
class Performance(PerformanceMethods, PerformanceEvents):
|
|
10
|
+
"""
|
|
11
|
+
Access the Performance domain.
|
|
12
|
+
"""
|
|
13
|
+
def __init__(self, client: "Client"):
|
|
14
|
+
"""
|
|
15
|
+
Initialize the Performance domain.
|
|
16
|
+
|
|
17
|
+
Args:
|
|
18
|
+
client ("Client"): The parent CDP client instance.
|
|
19
|
+
"""
|
|
20
|
+
PerformanceMethods.__init__(self, client)
|
|
21
|
+
PerformanceEvents.__init__(self, client)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""CDP Performance Types"""
|
|
2
|
+
|
|
3
|
+
from typing import TypedDict, NotRequired, Required, Literal, Any, Dict, Union, Optional, List, Set, Tuple
|
|
4
|
+
|
|
5
|
+
class Metric(TypedDict, total=True):
|
|
6
|
+
"""Run-time execution metric."""
|
|
7
|
+
name: 'str'
|
|
8
|
+
"""Metric name."""
|
|
9
|
+
value: 'float'
|
|
10
|
+
"""Metric value."""
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""CDP PerformanceTimeline Domain Events"""
|
|
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 PerformanceTimelineEvents:
|
|
10
|
+
"""
|
|
11
|
+
Events for the PerformanceTimeline domain.
|
|
12
|
+
"""
|
|
13
|
+
def __init__(self, client: "Client"):
|
|
14
|
+
"""
|
|
15
|
+
Initialize the PerformanceTimeline events.
|
|
16
|
+
|
|
17
|
+
Args:
|
|
18
|
+
client ("Client"): The parent CDP client instance.
|
|
19
|
+
"""
|
|
20
|
+
self.client = client
|
|
21
|
+
|
|
22
|
+
def on_timeline_event_added(self, callback: Callable[[timelineEventAddedEvent,Optional[str]], None]=None) -> None:
|
|
23
|
+
"""
|
|
24
|
+
Sent when a performance timeline event is added. See reportPerformanceTimeline method.
|
|
25
|
+
Args:
|
|
26
|
+
callback (callable, optional): Function called when the event is fired.
|
|
27
|
+
The callback receives (params: timelineEventAddedEvent, session_id: Optional[str]).
|
|
28
|
+
"""
|
|
29
|
+
self.client.on('PerformanceTimeline.timelineEventAdded', callback)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""CDP PerformanceTimeline Events"""
|
|
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.performance_timeline.types import TimelineEvent
|
|
8
|
+
|
|
9
|
+
class timelineEventAddedEvent(TypedDict, total=True):
|
|
10
|
+
event: 'TimelineEvent'
|
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"""CDP PerformanceTimeline 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 PerformanceTimelineMethods:
|
|
10
|
+
"""
|
|
11
|
+
Methods for the PerformanceTimeline domain.
|
|
12
|
+
"""
|
|
13
|
+
def __init__(self, client: "Client"):
|
|
14
|
+
"""
|
|
15
|
+
Initialize the PerformanceTimeline methods.
|
|
16
|
+
|
|
17
|
+
Args:
|
|
18
|
+
client ("Client"): The parent CDP client instance.
|
|
19
|
+
"""
|
|
20
|
+
self.client = client
|
|
21
|
+
|
|
22
|
+
async def enable(self, params: Optional[enableParameters]=None,session_id: Optional[str] = None) -> Dict[str, Any]:
|
|
23
|
+
"""
|
|
24
|
+
Previously buffered events would be reported before method returns. See also: timelineEventAdded
|
|
25
|
+
Args:
|
|
26
|
+
params (enableParameters, optional): Parameters for the enable method.
|
|
27
|
+
session_id (str, optional): Target session ID for flat protocol usage.
|
|
28
|
+
|
|
29
|
+
Returns:
|
|
30
|
+
Dict[str, Any]: The result of the enable call.
|
|
31
|
+
"""
|
|
32
|
+
return await self.client.send(method="PerformanceTimeline.enable", params=params,session_id=session_id)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"""CDP PerformanceTimeline Methods Types"""
|
|
2
|
+
|
|
3
|
+
from typing import TypedDict, NotRequired, Required, Literal, Any, Dict, Union, Optional, List, Set, Tuple
|
|
4
|
+
|
|
5
|
+
class enableParameters(TypedDict, total=True):
|
|
6
|
+
eventTypes: 'List[str]'
|
|
7
|
+
"""The types of event to report, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype The specified filter overrides any previous filters, passing empty filter disables recording. Note that not all types exposed to the web platform are currently supported."""
|