Skip to content

Commit 8622a14

Browse files
feat(api): update via SDK Studio
1 parent 8e7e28a commit 8622a14

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: 11
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-b91d95f8e40f28d0e455d749b86c4d864ac15a264dcc2c5b317f626ff605ce2c.yml
3-
openapi_spec_hash: befc3a683593ad7d832cfa9f0db941aa
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-4502c65bef0843a6ae96d23bba075433af6bab49b55b544b1522f63e7881c00c.yml
3+
openapi_spec_hash: 3e67b77bbc8cd6155b8f66f3271f2643
44
config_hash: c6bab7ac8da570a5abbcfb19db119b6b

src/resources/browsers.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@ export interface BrowserCreateParams {
175175
* Optional persistence configuration for the browser session.
176176
*/
177177
persistence?: BrowserPersistence;
178+
179+
/**
180+
* If true, launches the browser in stealth mode to reduce detection by anti-bot
181+
* mechanisms.
182+
*/
183+
stealth?: boolean;
178184
}
179185

180186
export interface BrowserDeleteParams {

tests/api-resources/browsers.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ describe('resource browsers', () => {
2525
const response = await client.browsers.create({
2626
invocation_id: 'rr33xuugxj9h0bkf1rdt2bet',
2727
persistence: { id: 'my-awesome-browser-for-user-1234' },
28+
stealth: true,
2829
});
2930
});
3031

0 commit comments

Comments
 (0)