File tree Expand file tree Collapse file tree 5 files changed +39
-2
lines changed
tests/api-resources/browsers Expand file tree Collapse file tree 5 files changed +39
-2
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 100
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-2b77b2efd4d25aaa264cbd6fcb0e43f82d14ce5a4bd6fb1e3859be440868685a .yml
3- openapi_spec_hash : 299be31ecb4a96dcd54d4d902a716e68
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-a0f1d08e6f62a74de2aac5c25e592494abdd59f2cfca2842c5810927554faee0 .yml
3+ openapi_spec_hash : ebd8bf67b7bb371cf4b4fa68b967cab5
44config_hash : 27c0ea01aeb797a1767af139851c5b66
Original file line number Diff line number Diff line change @@ -296,6 +296,11 @@ export interface BrowserPoolAcquireResponse {
296296 */
297297 deleted_at ?: string ;
298298
299+ /**
300+ * Whether the browser session has hardware-accelerated GPU rendering.
301+ */
302+ gpu ?: boolean ;
303+
299304 /**
300305 * Whether the browser session is running in kiosk mode.
301306 */
Original file line number Diff line number Diff line change @@ -292,6 +292,11 @@ export interface BrowserCreateResponse {
292292 */
293293 deleted_at ?: string ;
294294
295+ /**
296+ * Whether the browser session has hardware-accelerated GPU rendering.
297+ */
298+ gpu ?: boolean ;
299+
295300 /**
296301 * Whether the browser session is running in kiosk mode.
297302 */
@@ -368,6 +373,11 @@ export interface BrowserRetrieveResponse {
368373 */
369374 deleted_at ?: string ;
370375
376+ /**
377+ * Whether the browser session has hardware-accelerated GPU rendering.
378+ */
379+ gpu ?: boolean ;
380+
371381 /**
372382 * Whether the browser session is running in kiosk mode.
373383 */
@@ -444,6 +454,11 @@ export interface BrowserUpdateResponse {
444454 */
445455 deleted_at ?: string ;
446456
457+ /**
458+ * Whether the browser session has hardware-accelerated GPU rendering.
459+ */
460+ gpu ?: boolean ;
461+
447462 /**
448463 * Whether the browser session is running in kiosk mode.
449464 */
@@ -520,6 +535,11 @@ export interface BrowserListResponse {
520535 */
521536 deleted_at ?: string ;
522537
538+ /**
539+ * Whether the browser session has hardware-accelerated GPU rendering.
540+ */
541+ gpu ?: boolean ;
542+
523543 /**
524544 * Whether the browser session is running in kiosk mode.
525545 */
@@ -560,6 +580,12 @@ export interface BrowserCreateParams {
560580 */
561581 extensions ?: Array < Shared . BrowserExtension > ;
562582
583+ /**
584+ * If true, launches a hardware-accelerated browser with GPU rendering. Requires
585+ * Start-Up or Enterprise plan.
586+ */
587+ gpu ?: boolean ;
588+
563589 /**
564590 * If true, launches the browser using a headless image (no VNC/GUI). Defaults to
565591 * false.
Original file line number Diff line number Diff line change @@ -456,6 +456,11 @@ export namespace InvocationListBrowsersResponse {
456456 */
457457 deleted_at ?: string ;
458458
459+ /**
460+ * Whether the browser session has hardware-accelerated GPU rendering.
461+ */
462+ gpu ?: boolean ;
463+
459464 /**
460465 * Whether the browser session is running in kiosk mode.
461466 */
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ describe('resource browsers', () => {
2727 client . browsers . create (
2828 {
2929 extensions : [ { id : 'id' , name : 'name' } ] ,
30+ gpu : false ,
3031 headless : false ,
3132 invocation_id : 'rr33xuugxj9h0bkf1rdt2bet' ,
3233 kiosk_mode : true ,
You can’t perform that action at this time.
0 commit comments