docs: avoid confustion with incognito mode (#32327)

Fixes https://github.com/microsoft/playwright/issues/32321
This commit is contained in:
Yury Semikhatsky 2024-08-26 11:02:41 -07:00 committed by GitHub
parent 4340d153df
commit 888a5b53e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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