Skip to content

Commit e488d62

Browse files
feat(api): api update (#105)
1 parent 75d622a commit e488d62

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Diff for: .stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 18
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-1e31d897af1fa5faba941e1170e9de8bbdbd169f84468a5554df02d807d2fa05.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-f1ba1f2c1512973c1640f7e2d27c72c4f5c49ec07e70b026d52818e7f8b1468e.yml

Diff for: src/browserbase/types/session_create_params.py

+3
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ class BrowserSettingsViewport(TypedDict, total=False):
110110

111111

112112
class BrowserSettings(TypedDict, total=False):
113+
advanced_stealth: Annotated[bool, PropertyInfo(alias="advancedStealth")]
114+
"""Advanced Browser Stealth Mode"""
115+
113116
block_ads: Annotated[bool, PropertyInfo(alias="blockAds")]
114117
"""Enable or disable ad blocking in the browser. Defaults to `false`."""
115118

Diff for: tests/api_resources/test_sessions.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def test_method_create_with_all_params(self, client: Browserbase) -> None:
3434
session = client.sessions.create(
3535
project_id="projectId",
3636
browser_settings={
37+
"advanced_stealth": True,
3738
"block_ads": True,
3839
"context": {
3940
"id": "id",
@@ -265,6 +266,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncBrowserbas
265266
session = await async_client.sessions.create(
266267
project_id="projectId",
267268
browser_settings={
269+
"advanced_stealth": True,
268270
"block_ads": True,
269271
"context": {
270272
"id": "id",

0 commit comments

Comments
 (0)