Skip to content

Commit fa43f83

Browse files
feat(api): api update (#125)
1 parent 5eeaf0f commit fa43f83

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
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

src/resources/sessions/sessions.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,11 @@ export interface SessionCreateParams {
265265

266266
export namespace SessionCreateParams {
267267
export interface BrowserSettings {
268+
/**
269+
* Advanced Browser Stealth Mode
270+
*/
271+
advancedStealth?: boolean;
272+
268273
/**
269274
* Enable or disable ad blocking in the browser. Defaults to `false`.
270275
*/

tests/api-resources/sessions/sessions.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ describe('resource sessions', () => {
2424
const response = await client.sessions.create({
2525
projectId: 'projectId',
2626
browserSettings: {
27+
advancedStealth: true,
2728
blockAds: true,
2829
context: { id: 'id', persist: true },
2930
extensionId: 'extensionId',

0 commit comments

Comments
 (0)