mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: implement isIncognito (#10595)
This commit is contained in:
parent
6c9306a72e
commit
25e33717f5
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -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"],
|
||||||
|
Loading…
Reference in New Issue
Block a user