mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs(context): document the browser()
call from persistent context (#36216)
This commit is contained in:
parent
a0eb891880
commit
2bc8ed0fc9
@ -467,7 +467,7 @@ All existing background pages in the context.
|
||||
* since: v1.8
|
||||
- returns: <[null]|[Browser]>
|
||||
|
||||
Returns the browser instance of the context. If it was launched as a persistent context null gets returned.
|
||||
Gets the browser instance that owns the context. Returns `null` if the context is created outside of normal browser, e.g. Android or Electron.
|
||||
|
||||
## async method: BrowserContext.clearCookies
|
||||
* since: v1.8
|
||||
|
3
packages/playwright-client/types/types.d.ts
vendored
3
packages/playwright-client/types/types.d.ts
vendored
@ -8840,7 +8840,8 @@ export interface BrowserContext {
|
||||
backgroundPages(): Array<Page>;
|
||||
|
||||
/**
|
||||
* Returns the browser instance of the context. If it was launched as a persistent context null gets returned.
|
||||
* Gets the browser instance that owns the context. Returns `null` if the context is created outside of normal
|
||||
* browser, e.g. Android or Electron.
|
||||
*/
|
||||
browser(): null|Browser;
|
||||
|
||||
|
3
packages/playwright-core/types/types.d.ts
vendored
3
packages/playwright-core/types/types.d.ts
vendored
@ -8840,7 +8840,8 @@ export interface BrowserContext {
|
||||
backgroundPages(): Array<Page>;
|
||||
|
||||
/**
|
||||
* Returns the browser instance of the context. If it was launched as a persistent context null gets returned.
|
||||
* Gets the browser instance that owns the context. Returns `null` if the context is created outside of normal
|
||||
* browser, e.g. Android or Electron.
|
||||
*/
|
||||
browser(): null|Browser;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user