File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11configured_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
44config_hash : c6bab7ac8da570a5abbcfb19db119b6b
Original file line number Diff line number Diff line change @@ -211,6 +211,9 @@ func (r *BrowserListResponse) UnmarshalJSON(data []byte) error {
211211type BrowserNewParams struct {
212212 // action invocation ID
213213 InvocationID string `json:"invocation_id,required"`
214+ // If true, launches the browser in stealth mode to reduce detection by anti-bot
215+ // mechanisms.
216+ Stealth param.Opt [bool ] `json:"stealth,omitzero"`
214217 // Optional persistence configuration for the browser session.
215218 Persistence BrowserPersistenceParam `json:"persistence,omitzero"`
216219 paramObj
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ func TestBrowserNewWithOptionalParams(t *testing.T) {
3131 Persistence : kernel.BrowserPersistenceParam {
3232 ID : "my-awesome-browser-for-user-1234" ,
3333 },
34+ Stealth : kernel .Bool (true ),
3435 })
3536 if err != nil {
3637 var apierr * kernel.Error
You can’t perform that action at this time.
0 commit comments