File tree Expand file tree Collapse file tree
tests/api-resources/browsers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -838,10 +838,11 @@ export interface BrowserUsage {
838838}
839839
840840/**
841- * Video memory (VRAM) of a GPU browser session. 2GiB sessions have 4 vCPU and 6GiB
842- * memory. 4GiB sessions have 8 vCPU and 12GiB memory.
841+ * Video memory (VRAM) of a GPU browser session. 3GiB sessions have 4 vCPU and 6GiB
842+ * memory. 6GiB sessions have 8 vCPU and 12GiB memory. 2GiB and 4GiB are deprecated
843+ * aliases for 3GiB and 6GiB: they are accepted on create and never returned.
843844 */
844- export type BrowserVideoMemory = '2GiB' | '4GiB' ;
845+ export type BrowserVideoMemory = '3GiB' | '6GiB' | ' 2GiB' | '4GiB' ;
845846
846847/**
847848 * Browser profile metadata.
@@ -1827,8 +1828,8 @@ export interface BrowserCreateParams {
18271828
18281829 /**
18291830 * Video memory (VRAM) for a GPU browser session. Requires gpu=true. Defaults to
1830- * 2GiB , which comes with 4 vCPU and 6GiB memory. 4GiB comes with 8 vCPU and 12GiB
1831- * memory.
1831+ * 3GiB , which comes with 4 vCPU and 6GiB memory. 6GiB comes with 8 vCPU and 12GiB
1832+ * memory. 2GiB and 4GiB are deprecated aliases for 3GiB and 6GiB.
18321833 */
18331834 video_memory ?: BrowserVideoMemory ;
18341835
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ describe('resource browsers', () => {
8888 } ,
8989 timeout_seconds : 10 ,
9090 vaults : [ { id : 'id' , name : 'x' } ] ,
91- video_memory : '2GiB ' ,
91+ video_memory : '3GiB ' ,
9292 viewport : {
9393 height : 800 ,
9494 width : 1280 ,
You can’t perform that action at this time.
0 commit comments