Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/api/class-browsercontext.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion packages/playwright-client/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
3 changes: 2 additions & 1 deletion packages/playwright-core/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Loading