Skip to content

Commit 5e3b0b2

Browse files
feat: Add webdriver_ws_url and metro webdriver session proxy
1 parent 9d0b764 commit 5e3b0b2

File tree

7 files changed

+20
-2
lines changed

7 files changed

+20
-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/kernel/types/browser_create_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ class BrowserCreateResponse(BaseModel):
3232
timeout_seconds: int
3333
"""The number of seconds of inactivity before the browser session is terminated."""
3434

35+
webdriver_ws_url: str
36+
"""Websocket URL for WebDriver BiDi connections to the browser session"""
37+
3538
browser_live_view_url: Optional[str] = None
3639
"""Remote URL for live viewing the browser session.
3740

src/kernel/types/browser_list_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ class BrowserListResponse(BaseModel):
3232
timeout_seconds: int
3333
"""The number of seconds of inactivity before the browser session is terminated."""
3434

35+
webdriver_ws_url: str
36+
"""Websocket URL for WebDriver BiDi connections to the browser session"""
37+
3538
browser_live_view_url: Optional[str] = None
3639
"""Remote URL for live viewing the browser session.
3740

src/kernel/types/browser_pool_acquire_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ class BrowserPoolAcquireResponse(BaseModel):
3232
timeout_seconds: int
3333
"""The number of seconds of inactivity before the browser session is terminated."""
3434

35+
webdriver_ws_url: str
36+
"""Websocket URL for WebDriver BiDi connections to the browser session"""
37+
3538
browser_live_view_url: Optional[str] = None
3639
"""Remote URL for live viewing the browser session.
3740

src/kernel/types/browser_retrieve_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ class BrowserRetrieveResponse(BaseModel):
3232
timeout_seconds: int
3333
"""The number of seconds of inactivity before the browser session is terminated."""
3434

35+
webdriver_ws_url: str
36+
"""Websocket URL for WebDriver BiDi connections to the browser session"""
37+
3538
browser_live_view_url: Optional[str] = None
3639
"""Remote URL for live viewing the browser session.
3740

src/kernel/types/browser_update_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ class BrowserUpdateResponse(BaseModel):
3232
timeout_seconds: int
3333
"""The number of seconds of inactivity before the browser session is terminated."""
3434

35+
webdriver_ws_url: str
36+
"""Websocket URL for WebDriver BiDi connections to the browser session"""
37+
3538
browser_live_view_url: Optional[str] = None
3639
"""Remote URL for live viewing the browser session.
3740

src/kernel/types/invocation_list_browsers_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ class Browser(BaseModel):
3232
timeout_seconds: int
3333
"""The number of seconds of inactivity before the browser session is terminated."""
3434

35+
webdriver_ws_url: str
36+
"""Websocket URL for WebDriver BiDi connections to the browser session"""
37+
3538
browser_live_view_url: Optional[str] = None
3639
"""Remote URL for live viewing the browser session.
3740

0 commit comments

Comments
 (0)