You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -52,6 +54,13 @@ class ConnectionCreateParams(TypedDict, total=False):
52
54
re-auth. Defaults to true.
53
55
"""
54
56
57
+
browser_telemetry: Optional[BrowserTelemetry]
58
+
"""
59
+
Browser telemetry configuration used by this connection's browser sessions by
60
+
default. Uses the exact create-browser configuration. Can be overridden
61
+
per-login.
62
+
"""
63
+
55
64
credential: Credential
56
65
"""Reference to credentials for the auth connection. Use one of:
57
66
@@ -102,6 +111,39 @@ class ConnectionCreateParams(TypedDict, total=False):
102
111
"""
103
112
104
113
114
+
classBrowserTelemetry(TypedDict, total=False):
115
+
"""
116
+
Browser telemetry configuration used by this connection's browser sessions by default. Uses the exact create-browser configuration. Can be overridden per-login.
117
+
"""
118
+
119
+
browser: BrowserTelemetryCategoriesConfigParam
120
+
"""Per-category capture flags.
121
+
122
+
The operational categories (control, connection, system, captcha) are captured
123
+
whenever telemetry is enabled; set one to enabled=false to opt out. The CDP
124
+
categories (console, network, page, interaction) and screenshot are off by
125
+
default; set enabled=true to opt in. On create, provided categories layer onto
126
+
the default set. On update, provided categories merge onto the session's current
127
+
config; when no telemetry is active this falls back to the default set (matching
128
+
create). If browser is omitted or empty, the default set is used. A browser
129
+
config that disables every category stops capture on update and starts no
130
+
capture on create.
131
+
"""
132
+
133
+
enabled: bool
134
+
"""Request shortcut for browser telemetry capture.
135
+
136
+
True enables capture; with no browser category settings it captures the default
137
+
set (control, connection, system, captcha), and any browser category settings
138
+
are layered onto that default set. On update, enabled=true resolves the config
139
+
fresh from the default set plus any provided categories, replacing the session's
140
+
current selection rather than merging onto it; omit enabled to merge categories
141
+
onto the current selection instead. False stops capture on update and starts no
142
+
capture on create. enabled=false cannot be combined with browser category
143
+
settings.
144
+
"""
145
+
146
+
105
147
classCredential(TypedDict, total=False):
106
148
"""Reference to credentials for the auth connection.
@@ -25,6 +27,13 @@ class ConnectionUpdateParams(TypedDict, total=False):
25
27
re-auth.
26
28
"""
27
29
30
+
browser_telemetry: Optional[BrowserTelemetry]
31
+
"""
32
+
Browser telemetry configuration used by future browser sessions for this
33
+
connection. Uses the exact create-browser configuration. Set enabled to false to
34
+
disable telemetry.
35
+
"""
36
+
28
37
credential: Credential
29
38
"""Reference to credentials for the auth connection. Use one of:
30
39
@@ -63,6 +72,39 @@ class ConnectionUpdateParams(TypedDict, total=False):
63
72
"""Whether to save credentials after every successful login"""
64
73
65
74
75
+
classBrowserTelemetry(TypedDict, total=False):
76
+
"""
77
+
Browser telemetry configuration used by future browser sessions for this connection. Uses the exact create-browser configuration. Set enabled to false to disable telemetry.
78
+
"""
79
+
80
+
browser: BrowserTelemetryCategoriesConfigParam
81
+
"""Per-category capture flags.
82
+
83
+
The operational categories (control, connection, system, captcha) are captured
84
+
whenever telemetry is enabled; set one to enabled=false to opt out. The CDP
85
+
categories (console, network, page, interaction) and screenshot are off by
86
+
default; set enabled=true to opt in. On create, provided categories layer onto
87
+
the default set. On update, provided categories merge onto the session's current
88
+
config; when no telemetry is active this falls back to the default set (matching
89
+
create). If browser is omitted or empty, the default set is used. A browser
90
+
config that disables every category stops capture on update and starts no
91
+
capture on create.
92
+
"""
93
+
94
+
enabled: bool
95
+
"""Request shortcut for browser telemetry capture.
96
+
97
+
True enables capture; with no browser category settings it captures the default
98
+
set (control, connection, system, captcha), and any browser category settings
99
+
are layered onto that default set. On update, enabled=true resolves the config
100
+
fresh from the default set plus any provided categories, replacing the session's
101
+
current selection rather than merging onto it; omit enabled to merge categories
102
+
onto the current selection instead. False stops capture on update and starts no
103
+
capture on create. enabled=false cannot be combined with browser category
104
+
settings.
105
+
"""
106
+
107
+
66
108
classCredential(TypedDict, total=False):
67
109
"""Reference to credentials for the auth connection.
0 commit comments