Skip to content

Commit c1cb447

Browse files
authored
Merge pull request #137 from HyperionGray/copilot/daily-progress-2026-03-18
Update Chrome DevTools Protocol bindings to latest upstream spec
2 parents 16394c4 + 24ed5d2 commit c1cb447

28 files changed

+5366
-957
lines changed

cdp/__init__.py

Lines changed: 58 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -3,82 +3,61 @@
33
# This file is generated from the CDP specification. If you need to make
44
# changes, edit the generator and regenerate all of the modules.
55

6-
7-
8-
# Generated packages with many cross-domain imports are exposed
9-
# lazily so package-level imports do not depend on module order.
10-
11-
from __future__ import annotations
12-
13-
import importlib
14-
from typing import Any
15-
16-
17-
_SUBMODULES = (
18-
'util',
19-
'connection',
20-
'accessibility',
21-
'animation',
22-
'audits',
23-
'autofill',
24-
'background_service',
25-
'bluetooth_emulation',
26-
'browser',
27-
'css',
28-
'cache_storage',
29-
'cast',
30-
'console',
31-
'dom',
32-
'dom_debugger',
33-
'dom_snapshot',
34-
'dom_storage',
35-
'debugger',
36-
'device_access',
37-
'device_orientation',
38-
'emulation',
39-
'event_breakpoints',
40-
'extensions',
41-
'fed_cm',
42-
'fetch',
43-
'file_system',
44-
'headless_experimental',
45-
'heap_profiler',
46-
'io',
47-
'indexed_db',
48-
'input_',
49-
'inspector',
50-
'layer_tree',
51-
'log',
52-
'media',
53-
'memory',
54-
'network',
55-
'overlay',
56-
'pwa',
57-
'page',
58-
'performance',
59-
'performance_timeline',
60-
'preload',
61-
'profiler',
62-
'runtime',
63-
'schema',
64-
'security',
65-
'service_worker',
66-
'storage',
67-
'system_info',
68-
'target',
69-
'tethering',
70-
'tracing',
71-
'web_audio',
72-
'web_authn',
73-
)
74-
75-
__all__ = list(_SUBMODULES)
76-
77-
78-
def __getattr__(name: str) -> Any:
79-
if name not in _SUBMODULES:
80-
raise AttributeError(f"module 'cdp' has no attribute {name!r}")
81-
82-
module = importlib.import_module(f"{__name__}.{name}")
83-
globals()[name] = module
84-
return module
6+
import cdp.util
7+
import cdp.connection
8+
9+
import cdp.accessibility
10+
import cdp.animation
11+
import cdp.audits
12+
import cdp.autofill
13+
import cdp.background_service
14+
import cdp.bluetooth_emulation
15+
import cdp.browser
16+
import cdp.css
17+
import cdp.cache_storage
18+
import cdp.cast
19+
import cdp.console
20+
import cdp.dom
21+
import cdp.dom_debugger
22+
import cdp.dom_snapshot
23+
import cdp.dom_storage
24+
import cdp.debugger
25+
import cdp.device_access
26+
import cdp.device_orientation
27+
import cdp.emulation
28+
import cdp.event_breakpoints
29+
import cdp.extensions
30+
import cdp.fed_cm
31+
import cdp.fetch
32+
import cdp.file_system
33+
import cdp.headless_experimental
34+
import cdp.heap_profiler
35+
import cdp.io
36+
import cdp.indexed_db
37+
import cdp.input_
38+
import cdp.inspector
39+
import cdp.layer_tree
40+
import cdp.log
41+
import cdp.media
42+
import cdp.memory
43+
import cdp.network
44+
import cdp.overlay
45+
import cdp.pwa
46+
import cdp.page
47+
import cdp.performance
48+
import cdp.performance_timeline
49+
import cdp.preload
50+
import cdp.profiler
51+
import cdp.runtime
52+
import cdp.schema
53+
import cdp.security
54+
import cdp.service_worker
55+
import cdp.smart_card_emulation
56+
import cdp.storage
57+
import cdp.system_info
58+
import cdp.target
59+
import cdp.tethering
60+
import cdp.tracing
61+
import cdp.web_audio
62+
import cdp.web_authn
63+
import cdp.web_mcp

0 commit comments

Comments
 (0)