2020-06-04 14:56:45 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [BrowserContext](./puppeteer.browsercontext.md) > [isIncognito](./puppeteer.browsercontext.isincognito.md)
|
|
|
|
|
|
|
|
## BrowserContext.isIncognito() method
|
|
|
|
|
2020-06-23 05:21:01 +00:00
|
|
|
Returns whether BrowserContext is incognito. The default browser context is the only non-incognito browser context.
|
|
|
|
|
2020-06-04 14:56:45 +00:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
isIncognito(): boolean;
|
|
|
|
```
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
boolean
|
|
|
|
|
2020-06-23 05:21:01 +00:00
|
|
|
## Remarks
|
|
|
|
|
|
|
|
The default browser context cannot be closed.
|
|
|
|
|