chore: implement isIncognito (#10595)

This commit is contained in:
Alex Rudenko 2023-07-20 08:52:50 +02:00 committed by GitHub
parent 6c9306a72e
commit 25e33717f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -136,4 +136,8 @@ export class BrowserContext extends BrowserContextBase {
await this.#init.valueOrThrow(); await this.#init.valueOrThrow();
return [...this.#pages.values()]; return [...this.#pages.values()];
} }
override isIncognito(): boolean {
return false;
}
} }

View File

@ -335,6 +335,12 @@
"parameters": ["webDriverBiDi"], "parameters": ["webDriverBiDi"],
"expectations": ["PASS"] "expectations": ["PASS"]
}, },
{
"testIdPattern": "[browsercontext.spec] BrowserContext should have default context",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["webDriverBiDi"],
"expectations": ["PASS"]
},
{ {
"testIdPattern": "[CDPSession.spec] Target.createCDPSession *", "testIdPattern": "[CDPSession.spec] Target.createCDPSession *",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],