@@ -49,6 +49,7 @@ def create(
4949 *,
5050 invocation_id: str,
5151 persistence: BrowserPersistenceParam | NotGiven = NOT_GIVEN,
52+ stealth: bool | NotGiven = NOT_GIVEN,
5253 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5354 # The extra values given here take precedence over values defined on the client or passed to this method.
5455 extra_headers: Headers | None = None,
@@ -64,6 +65,9 @@ def create(
6465
6566 persistence: Optional persistence configuration for the browser session.
6667
68+ stealth: If true, launches the browser in stealth mode to reduce detection by anti-bot
69+ mechanisms.
70+
6771 extra_headers: Send extra headers
6872
6973 extra_query: Add additional query parameters to the request
@@ -78,6 +82,7 @@ def create(
7882 {
7983 "invocation_id": invocation_id,
8084 "persistence": persistence,
85+ "stealth": stealth,
8186 },
8287 browser_create_params.BrowserCreateParams,
8388 ),
@@ -237,6 +242,7 @@ async def create(
237242 *,
238243 invocation_id: str,
239244 persistence: BrowserPersistenceParam | NotGiven = NOT_GIVEN,
245+ stealth: bool | NotGiven = NOT_GIVEN,
240246 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
241247 # The extra values given here take precedence over values defined on the client or passed to this method.
242248 extra_headers: Headers | None = None,
@@ -252,6 +258,9 @@ async def create(
252258
253259 persistence: Optional persistence configuration for the browser session.
254260
261+ stealth: If true, launches the browser in stealth mode to reduce detection by anti-bot
262+ mechanisms.
263+
255264 extra_headers: Send extra headers
256265
257266 extra_query: Add additional query parameters to the request
@@ -266,6 +275,7 @@ async def create(
266275 {
267276 "invocation_id": invocation_id,
268277 "persistence": persistence,
278+ "stealth": stealth,
269279 },
270280 browser_create_params.BrowserCreateParams,
271281 ),
0 commit comments