@@ -136,6 +136,7 @@ def create(
136136 self ,
137137 * ,
138138 extensions : Iterable [BrowserExtension ] | Omit = omit ,
139+ gpu : bool | Omit = omit ,
139140 headless : bool | Omit = omit ,
140141 invocation_id : str | Omit = omit ,
141142 kiosk_mode : bool | Omit = omit ,
@@ -158,6 +159,9 @@ def create(
158159 Args:
159160 extensions: List of browser extensions to load into the session. Provide each by id or name.
160161
162+ gpu: If true, launches a hardware-accelerated browser with GPU rendering. Requires
163+ Start-Up or Enterprise plan.
164+
161165 headless: If true, launches the browser using a headless image (no VNC/GUI). Defaults to
162166 false.
163167
@@ -206,6 +210,7 @@ def create(
206210 body = maybe_transform (
207211 {
208212 "extensions" : extensions ,
213+ "gpu" : gpu ,
209214 "headless" : headless ,
210215 "invocation_id" : invocation_id ,
211216 "kiosk_mode" : kiosk_mode ,
@@ -547,6 +552,7 @@ async def create(
547552 self ,
548553 * ,
549554 extensions : Iterable [BrowserExtension ] | Omit = omit ,
555+ gpu : bool | Omit = omit ,
550556 headless : bool | Omit = omit ,
551557 invocation_id : str | Omit = omit ,
552558 kiosk_mode : bool | Omit = omit ,
@@ -569,6 +575,9 @@ async def create(
569575 Args:
570576 extensions: List of browser extensions to load into the session. Provide each by id or name.
571577
578+ gpu: If true, launches a hardware-accelerated browser with GPU rendering. Requires
579+ Start-Up or Enterprise plan.
580+
572581 headless: If true, launches the browser using a headless image (no VNC/GUI). Defaults to
573582 false.
574583
@@ -617,6 +626,7 @@ async def create(
617626 body = await async_maybe_transform (
618627 {
619628 "extensions" : extensions ,
629+ "gpu" : gpu ,
620630 "headless" : headless ,
621631 "invocation_id" : invocation_id ,
622632 "kiosk_mode" : kiosk_mode ,
0 commit comments