docs: avoid confustion with incognito mode (#32327)
Fixes https://github.com/microsoft/playwright/issues/32321
This commit is contained in:
parent
4340d153df
commit
888a5b53e7
|
|
@ -6,7 +6,7 @@ BrowserContexts provide a way to operate multiple independent browser sessions.
|
|||
If a page opens another page, e.g. with a `window.open` call, the popup will belong to the parent page's browser
|
||||
context.
|
||||
|
||||
Playwright allows creating "incognito" browser contexts with [`method: Browser.newContext`] method. "Incognito" browser
|
||||
Playwright allows creating isolated non-persistent browser contexts with [`method: Browser.newContext`] method. Non-persistent browser
|
||||
contexts don't write any browsing data to disk.
|
||||
|
||||
```js
|
||||
|
|
|
|||
4
packages/playwright-core/types/types.d.ts
vendored
4
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -7605,9 +7605,9 @@ export interface Frame {
|
|||
* If a page opens another page, e.g. with a `window.open` call, the popup will belong to the parent page's browser
|
||||
* context.
|
||||
*
|
||||
* Playwright allows creating "incognito" browser contexts with
|
||||
* Playwright allows creating isolated non-persistent browser contexts with
|
||||
* [browser.newContext([options])](https://playwright.dev/docs/api/class-browser#browser-new-context) method.
|
||||
* "Incognito" browser contexts don't write any browsing data to disk.
|
||||
* Non-persistent browser contexts don't write any browsing data to disk.
|
||||
*
|
||||
* ```js
|
||||
* // Create a new incognito browser context
|
||||
|
|
|
|||
Loading…
Reference in a new issue