@@ -129,11 +129,26 @@ export interface BrowserCreateResponse {
129
129
*/
130
130
cdp_ws_url : string ;
131
131
132
+ /**
133
+ * Indicates whether the browser session is headless.
134
+ */
135
+ headless : boolean ;
136
+
132
137
/**
133
138
* Unique identifier for the browser session
134
139
*/
135
140
session_id : string ;
136
141
142
+ /**
143
+ * Indicates whether the browser session is stealth.
144
+ */
145
+ stealth : boolean ;
146
+
147
+ /**
148
+ * The number of seconds of inactivity before the browser session is terminated.
149
+ */
150
+ timeout_seconds : number ;
151
+
137
152
/**
138
153
* Remote URL for live viewing the browser session. Only available for non-headless
139
154
* browsers.
@@ -152,11 +167,26 @@ export interface BrowserRetrieveResponse {
152
167
*/
153
168
cdp_ws_url : string ;
154
169
170
+ /**
171
+ * Indicates whether the browser session is headless.
172
+ */
173
+ headless : boolean ;
174
+
155
175
/**
156
176
* Unique identifier for the browser session
157
177
*/
158
178
session_id : string ;
159
179
180
+ /**
181
+ * Indicates whether the browser session is stealth.
182
+ */
183
+ stealth : boolean ;
184
+
185
+ /**
186
+ * The number of seconds of inactivity before the browser session is terminated.
187
+ */
188
+ timeout_seconds : number ;
189
+
160
190
/**
161
191
* Remote URL for live viewing the browser session. Only available for non-headless
162
192
* browsers.
@@ -178,11 +208,26 @@ export namespace BrowserListResponse {
178
208
*/
179
209
cdp_ws_url : string ;
180
210
211
+ /**
212
+ * Indicates whether the browser session is headless.
213
+ */
214
+ headless : boolean ;
215
+
181
216
/**
182
217
* Unique identifier for the browser session
183
218
*/
184
219
session_id : string ;
185
220
221
+ /**
222
+ * Indicates whether the browser session is stealth.
223
+ */
224
+ stealth : boolean ;
225
+
226
+ /**
227
+ * The number of seconds of inactivity before the browser session is terminated.
228
+ */
229
+ timeout_seconds : number ;
230
+
186
231
/**
187
232
* Remote URL for live viewing the browser session. Only available for non-headless
188
233
* browsers.
@@ -218,6 +263,13 @@ export interface BrowserCreateParams {
218
263
* mechanisms.
219
264
*/
220
265
stealth ?: boolean ;
266
+
267
+ /**
268
+ * The number of seconds of inactivity before the browser session is terminated.
269
+ * Only applicable to non-persistent browsers. Activity includes CDP connections
270
+ * and live view connections. Defaults to 60 seconds.
271
+ */
272
+ timeout_seconds ?: number ;
221
273
}
222
274
223
275
export interface BrowserDeleteParams {
0 commit comments