Skip to content

Commit 50cc800

Browse files
feat: [kernel-1116] add base_url field to browser session response
1 parent f3fe4be commit 50cc800

4 files changed

Lines changed: 32 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 104
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-ac10847d991ef8ed89124b5550922cb5726af2b4a4c3396ee6ff82938302fc25.yml
3-
openapi_spec_hash: 0d902563108fe2461708c05336eab40a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-aee09720882ec1d78f845fee6ceecb0466c264629e4edecd3230406dd06d7983.yml
3+
openapi_spec_hash: 438da0d38d169897595f301d82fa7e2c
44
config_hash: 16e4457a0bb26e98a335a1c2a572290a

src/resources/browser-pools.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,11 @@ export interface BrowserPoolAcquireResponse {
305305
*/
306306
webdriver_ws_url: string;
307307

308+
/**
309+
* Metro-API HTTP base URL for this browser session.
310+
*/
311+
base_url?: string;
312+
308313
/**
309314
* Remote URL for live viewing the browser session. Only available for non-headless
310315
* browsers.

src/resources/browsers/browsers.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,11 @@ export interface BrowserCreateResponse {
318318
*/
319319
webdriver_ws_url: string;
320320

321+
/**
322+
* Metro-API HTTP base URL for this browser session.
323+
*/
324+
base_url?: string;
325+
321326
/**
322327
* Remote URL for live viewing the browser session. Only available for non-headless
323328
* browsers.
@@ -419,6 +424,11 @@ export interface BrowserRetrieveResponse {
419424
*/
420425
webdriver_ws_url: string;
421426

427+
/**
428+
* Metro-API HTTP base URL for this browser session.
429+
*/
430+
base_url?: string;
431+
422432
/**
423433
* Remote URL for live viewing the browser session. Only available for non-headless
424434
* browsers.
@@ -520,6 +530,11 @@ export interface BrowserUpdateResponse {
520530
*/
521531
webdriver_ws_url: string;
522532

533+
/**
534+
* Metro-API HTTP base URL for this browser session.
535+
*/
536+
base_url?: string;
537+
523538
/**
524539
* Remote URL for live viewing the browser session. Only available for non-headless
525540
* browsers.
@@ -621,6 +636,11 @@ export interface BrowserListResponse {
621636
*/
622637
webdriver_ws_url: string;
623638

639+
/**
640+
* Metro-API HTTP base URL for this browser session.
641+
*/
642+
base_url?: string;
643+
624644
/**
625645
* Remote URL for live viewing the browser session. Only available for non-headless
626646
* browsers.

src/resources/invocations.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,11 @@ export namespace InvocationListBrowsersResponse {
453453
*/
454454
webdriver_ws_url: string;
455455

456+
/**
457+
* Metro-API HTTP base URL for this browser session.
458+
*/
459+
base_url?: string;
460+
456461
/**
457462
* Remote URL for live viewing the browser session. Only available for non-headless
458463
* browsers.

0 commit comments

Comments
 (0)