Skip to content

Commit d80e4ac

Browse files
feat(api): api update
1 parent d661869 commit d80e4ac

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-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: 18
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-c14a7d6b23a7fd42a26a7c55a668d1dcd2e4b58354b878e696bc959d808c71c9.yml
3-
openapi_spec_hash: a0878bab95e435f9ce0d2418f0784d06
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-be7a4aeebb1605262935b4b3ab446a95b1fad8a7d18098943dd548c8a486ef13.yml
3+
openapi_spec_hash: 1c950a109f80140711e7ae2cf87fddad
44
config_hash: b3ca4ec5b02e5333af51ebc2e9fdef1b

src/resources/sessions/sessions.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,12 @@ export namespace SessionCreateParams {
442442
*/
443443
logSession?: boolean;
444444

445+
/**
446+
* Operating system for stealth mode. Valid values: windows, mac, linux, mobile,
447+
* tablet
448+
*/
449+
os?: 'windows' | 'mac' | 'linux' | 'mobile' | 'tablet';
450+
445451
/**
446452
* Enable or disable session recording. Defaults to `true`.
447453
*/

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ describe('resource sessions', () => {
3939
screen: { maxHeight: 0, maxWidth: 0, minHeight: 0, minWidth: 0 },
4040
},
4141
logSession: true,
42+
os: 'windows',
4243
recordSession: true,
4344
solveCaptchas: true,
4445
viewport: { height: 0, width: 0 },

0 commit comments

Comments
 (0)