BrowserContext.isIncognito() method
Whether this browser context is incognito.
In Chrome, the default browser context is the only non-incognito browser context.
Signature:
class BrowserContext {
abstract isIncognito(): boolean;
}
Returns:
boolean