File tree Expand file tree Collapse file tree 3 files changed +24
-2
lines changed
tests/api-resources/browsers Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 57
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-1cd328ccf61f0e888d6df27b091c30b38c392ab9ca8ce7fd0ead8f10aaf71ffa .yml
3- openapi_spec_hash : af761c48d1955f11822f3b95f9c46750
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-6c765f1c4ce1c4dd4ceb371f56bf047aa79af36031ba43cbd68fa16a5fdb9bb3 .yml
3+ openapi_spec_hash : e9086f69281360f4e0895c9274a59531
44config_hash : deadfc4d2b0a947673bcf559b5db6e1b
Original file line number Diff line number Diff line change @@ -241,6 +241,11 @@ export interface BrowserCreateResponse {
241241 */
242242 browser_live_view_url ?: string ;
243243
244+ /**
245+ * Whether the browser session is running in kiosk mode.
246+ */
247+ kiosk_mode ?: boolean ;
248+
244249 /**
245250 * Optional persistence configuration for the browser session.
246251 */
@@ -336,6 +341,11 @@ export interface BrowserRetrieveResponse {
336341 */
337342 browser_live_view_url ?: string ;
338343
344+ /**
345+ * Whether the browser session is running in kiosk mode.
346+ */
347+ kiosk_mode ?: boolean ;
348+
339349 /**
340350 * Optional persistence configuration for the browser session.
341351 */
@@ -434,6 +444,11 @@ export namespace BrowserListResponse {
434444 */
435445 browser_live_view_url ?: string ;
436446
447+ /**
448+ * Whether the browser session is running in kiosk mode.
449+ */
450+ kiosk_mode ?: boolean ;
451+
437452 /**
438453 * Optional persistence configuration for the browser session.
439454 */
@@ -510,6 +525,12 @@ export interface BrowserCreateParams {
510525 */
511526 invocation_id ?: string ;
512527
528+ /**
529+ * If true, launches the browser in kiosk mode to hide address bar and tabs in live
530+ * view.
531+ */
532+ kiosk_mode ?: boolean ;
533+
513534 /**
514535 * Optional persistence configuration for the browser session.
515536 */
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ describe('resource browsers', () => {
2929 extensions : [ { id : 'id' , name : 'name' } ] ,
3030 headless : false ,
3131 invocation_id : 'rr33xuugxj9h0bkf1rdt2bet' ,
32+ kiosk_mode : true ,
3233 persistence : { id : 'my-awesome-browser-for-user-1234' } ,
3334 profile : { id : 'id' , name : 'name' , save_changes : true } ,
3435 proxy_id : 'proxy_id' ,
You can’t perform that action at this time.
0 commit comments