@@ -5392,6 +5392,7 @@ <h1 class="title">Module <code>playwright.async_api</code></h1>
5392
5392
hasTouch: bool = None,
5393
5393
colorScheme: Literal["light", "dark", "no-preference"] = None,
5394
5394
acceptDownloads: bool = None,
5395
+ defaultBrowserType: str = None,
5395
5396
) -> "BrowserContext":
5396
5397
"""Browser.newContext
5397
5398
@@ -5456,6 +5457,7 @@ <h1 class="title">Module <code>playwright.async_api</code></h1>
5456
5457
hasTouch=hasTouch,
5457
5458
colorScheme=colorScheme,
5458
5459
acceptDownloads=acceptDownloads,
5460
+ defaultBrowserType=defaultBrowserType,
5459
5461
)
5460
5462
)
5461
5463
@@ -6111,6 +6113,7 @@ <h3>Methods</h3>
6111
6113
hasTouch: bool = None,
6112
6114
colorScheme: Literal["light", "dark", "no-preference"] = None,
6113
6115
acceptDownloads: bool = None,
6116
+ defaultBrowserType: str = None,
6114
6117
) -> "BrowserContext":
6115
6118
"""Browser.newContext
6116
6119
@@ -6175,6 +6178,7 @@ <h3>Methods</h3>
6175
6178
hasTouch=hasTouch,
6176
6179
colorScheme=colorScheme,
6177
6180
acceptDownloads=acceptDownloads,
6181
+ defaultBrowserType=defaultBrowserType,
6178
6182
)
6179
6183
)
6180
6184
@@ -6388,7 +6392,7 @@ <h2 id="returns">Returns</h2>
6388
6392
</details>
6389
6393
</dd>
6390
6394
<dt id="playwright.async_api.Browser.newContext"><code class="name flex">
6391
- <span>async def <span class="ident">newContext</span></span>(<span>self, viewport: Union[playwright.helper.IntSize, Literal[0]] = None, ignoreHTTPSErrors: bool = None, javaScriptEnabled: bool = None, bypassCSP: bool = None, userAgent: str = None, locale: str = None, timezoneId: str = None, geolocation: playwright.helper.Geolocation = None, permissions: List[str] = None, extraHTTPHeaders: Dict[str, str] = None, offline: bool = None, httpCredentials: playwright.helper.Credentials = None, deviceScaleFactor: int = None, isMobile: bool = None, hasTouch: bool = None, colorScheme: Literal['light', 'dark', 'no-preference'] = None, acceptDownloads: bool = None) ‑> <a title="playwright.async_api.BrowserContext" href="#playwright.async_api.BrowserContext">BrowserContext</a></span>
6395
+ <span>async def <span class="ident">newContext</span></span>(<span>self, viewport: Union[playwright.helper.IntSize, Literal[0]] = None, ignoreHTTPSErrors: bool = None, javaScriptEnabled: bool = None, bypassCSP: bool = None, userAgent: str = None, locale: str = None, timezoneId: str = None, geolocation: playwright.helper.Geolocation = None, permissions: List[str] = None, extraHTTPHeaders: Dict[str, str] = None, offline: bool = None, httpCredentials: playwright.helper.Credentials = None, deviceScaleFactor: int = None, isMobile: bool = None, hasTouch: bool = None, colorScheme: Literal['light', 'dark', 'no-preference'] = None, acceptDownloads: bool = None, defaultBrowserType: str = None ) ‑> <a title="playwright.async_api.BrowserContext" href="#playwright.async_api.BrowserContext">BrowserContext</a></span>
6392
6396
</code></dt>
6393
6397
<dd>
6394
6398
<div class="desc"><p>Browser.newContext</p>
@@ -6458,6 +6462,7 @@ <h2 id="returns">Returns</h2>
6458
6462
hasTouch: bool = None,
6459
6463
colorScheme: Literal["light", "dark", "no-preference"] = None,
6460
6464
acceptDownloads: bool = None,
6465
+ defaultBrowserType: str = None,
6461
6466
) -> "BrowserContext":
6462
6467
"""Browser.newContext
6463
6468
@@ -6522,6 +6527,7 @@ <h2 id="returns">Returns</h2>
6522
6527
hasTouch=hasTouch,
6523
6528
colorScheme=colorScheme,
6524
6529
acceptDownloads=acceptDownloads,
6530
+ defaultBrowserType=defaultBrowserType,
6525
6531
)
6526
6532
)</code></pre>
6527
6533
</details>
0 commit comments