Skip to content

Commit cff6562

Browse files
feat: Add webdriver_ws_url and metro webdriver session proxy
1 parent 51c1411 commit cff6562

File tree

4 files changed

+32
-2
lines changed

4 files changed

+32
-2
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: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-ef24d4bf172555bcbe8e3b432c644a25a1c6afd99c958a2eda8c3b1ea9568113.yml
3-
openapi_spec_hash: b603c5a983e837928fa7d1100ed64fc9
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-bda5e58fa0bbd08761f27a1e0edbc602c44141ac9483bf6c96d52b7f4d10d9a7.yml
3+
openapi_spec_hash: 10833b36358e8cda023e5bb0abeab0ba
44
config_hash: cff4d43372b6fa66b64e2d4150f6aa76

src/resources/browser-pools.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,11 @@ export interface BrowserPoolAcquireResponse {
288288
*/
289289
timeout_seconds: number;
290290

291+
/**
292+
* Websocket URL for WebDriver BiDi connections to the browser session
293+
*/
294+
webdriver_ws_url: string;
295+
291296
/**
292297
* Remote URL for live viewing the browser session. Only available for non-headless
293298
* browsers.

src/resources/browsers/browsers.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,11 @@ export interface BrowserCreateResponse {
313313
*/
314314
timeout_seconds: number;
315315

316+
/**
317+
* Websocket URL for WebDriver BiDi connections to the browser session
318+
*/
319+
webdriver_ws_url: string;
320+
316321
/**
317322
* Remote URL for live viewing the browser session. Only available for non-headless
318323
* browsers.
@@ -404,6 +409,11 @@ export interface BrowserRetrieveResponse {
404409
*/
405410
timeout_seconds: number;
406411

412+
/**
413+
* Websocket URL for WebDriver BiDi connections to the browser session
414+
*/
415+
webdriver_ws_url: string;
416+
407417
/**
408418
* Remote URL for live viewing the browser session. Only available for non-headless
409419
* browsers.
@@ -495,6 +505,11 @@ export interface BrowserUpdateResponse {
495505
*/
496506
timeout_seconds: number;
497507

508+
/**
509+
* Websocket URL for WebDriver BiDi connections to the browser session
510+
*/
511+
webdriver_ws_url: string;
512+
498513
/**
499514
* Remote URL for live viewing the browser session. Only available for non-headless
500515
* browsers.
@@ -586,6 +601,11 @@ export interface BrowserListResponse {
586601
*/
587602
timeout_seconds: number;
588603

604+
/**
605+
* Websocket URL for WebDriver BiDi connections to the browser session
606+
*/
607+
webdriver_ws_url: string;
608+
589609
/**
590610
* Remote URL for live viewing the browser session. Only available for non-headless
591611
* browsers.

src/resources/invocations.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,11 @@ export namespace InvocationListBrowsersResponse {
448448
*/
449449
timeout_seconds: number;
450450

451+
/**
452+
* Websocket URL for WebDriver BiDi connections to the browser session
453+
*/
454+
webdriver_ws_url: string;
455+
451456
/**
452457
* Remote URL for live viewing the browser session. Only available for non-headless
453458
* browsers.

0 commit comments

Comments
 (0)