File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ All existing background pages in the context.
467467* since: v1.8
468468- returns: <[ null] |[ Browser] >
469469
470- Returns the browser instance of the context. If it was launched as a persistent context null gets returned .
470+ Gets the browser instance that owns the context. Returns ` null ` if the context is created outside of normal browser, e.g. Android or Electron .
471471
472472## async method: BrowserContext.clearCookies
473473* since: v1.8
Original file line number Diff line number Diff line change @@ -8840,7 +8840,8 @@ export interface BrowserContext {
88408840 backgroundPages(): Array<Page>;
88418841
88428842 /**
8843- * Returns the browser instance of the context. If it was launched as a persistent context null gets returned.
8843+ * Gets the browser instance that owns the context. Returns `null` if the context is created outside of normal
8844+ * browser, e.g. Android or Electron.
88448845 */
88458846 browser(): null|Browser;
88468847
Original file line number Diff line number Diff line change @@ -8840,7 +8840,8 @@ export interface BrowserContext {
88408840 backgroundPages(): Array<Page>;
88418841
88428842 /**
8843- * Returns the browser instance of the context. If it was launched as a persistent context null gets returned.
8843+ * Gets the browser instance that owns the context. Returns `null` if the context is created outside of normal
8844+ * browser, e.g. Android or Electron.
88448845 */
88458846 browser(): null|Browser;
88468847
You can’t perform that action at this time.
0 commit comments