Skip to content

Commit df2cba7

Browse files
feat(api): add browser timeouts
1 parent 47a0b63 commit df2cba7

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 31
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-6f4aab5f0db80d6ce30ef40274eee347cce0a9465e7f1e5077f8f4a085251ddf.yml
3-
openapi_spec_hash: 8e83254243d1620b80a0dc8aa212ee0d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-b55c3e0424fa7733487139488b9fff00ad8949ff02ee3160ee36b9334e84b134.yml
3+
openapi_spec_hash: 17f36677e3dc0a3aeb419654c8d5cae3
44
config_hash: f67e4b33b2fb30c1405ee2fff8096320

src/resources/browsers/browsers.ts

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,12 @@ export interface BrowserCreateResponse {
130130
cdp_ws_url: string;
131131

132132
/**
133-
* Indicates whether the browser session is headless.
133+
* When the browser session was created.
134+
*/
135+
created_at: string;
136+
137+
/**
138+
* Whether the browser session is running in headless mode.
134139
*/
135140
headless: boolean;
136141

@@ -140,7 +145,7 @@ export interface BrowserCreateResponse {
140145
session_id: string;
141146

142147
/**
143-
* Indicates whether the browser session is stealth.
148+
* Whether the browser session is running in stealth mode.
144149
*/
145150
stealth: boolean;
146151

@@ -168,7 +173,12 @@ export interface BrowserRetrieveResponse {
168173
cdp_ws_url: string;
169174

170175
/**
171-
* Indicates whether the browser session is headless.
176+
* When the browser session was created.
177+
*/
178+
created_at: string;
179+
180+
/**
181+
* Whether the browser session is running in headless mode.
172182
*/
173183
headless: boolean;
174184

@@ -178,7 +188,7 @@ export interface BrowserRetrieveResponse {
178188
session_id: string;
179189

180190
/**
181-
* Indicates whether the browser session is stealth.
191+
* Whether the browser session is running in stealth mode.
182192
*/
183193
stealth: boolean;
184194

@@ -209,7 +219,12 @@ export namespace BrowserListResponse {
209219
cdp_ws_url: string;
210220

211221
/**
212-
* Indicates whether the browser session is headless.
222+
* When the browser session was created.
223+
*/
224+
created_at: string;
225+
226+
/**
227+
* Whether the browser session is running in headless mode.
213228
*/
214229
headless: boolean;
215230

@@ -219,7 +234,7 @@ export namespace BrowserListResponse {
219234
session_id: string;
220235

221236
/**
222-
* Indicates whether the browser session is stealth.
237+
* Whether the browser session is running in stealth mode.
223238
*/
224239
stealth: boolean;
225240

0 commit comments

Comments
 (0)