diff --git a/packages/puppeteer-core/src/common/bidi/BrowserContext.ts b/packages/puppeteer-core/src/common/bidi/BrowserContext.ts index 36ef2c5e4f9..1eac6045ff0 100644 --- a/packages/puppeteer-core/src/common/bidi/BrowserContext.ts +++ b/packages/puppeteer-core/src/common/bidi/BrowserContext.ts @@ -136,4 +136,8 @@ export class BrowserContext extends BrowserContextBase { await this.#init.valueOrThrow(); return [...this.#pages.values()]; } + + override isIncognito(): boolean { + return false; + } } diff --git a/test/TestExpectations.json b/test/TestExpectations.json index 1776e48a3ae..055622bbda3 100644 --- a/test/TestExpectations.json +++ b/test/TestExpectations.json @@ -335,6 +335,12 @@ "parameters": ["webDriverBiDi"], "expectations": ["PASS"] }, + { + "testIdPattern": "[browsercontext.spec] BrowserContext should have default context", + "platforms": ["darwin", "linux", "win32"], + "parameters": ["webDriverBiDi"], + "expectations": ["PASS"] + }, { "testIdPattern": "[CDPSession.spec] Target.createCDPSession *", "platforms": ["darwin", "linux", "win32"],