pplaywrightSource ↗
49 declarations and 136 call references extracted from public source metadata.

Source symbols: packages/playwright-core/src/client/browserContext.ts

Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.

  • Revision: main@4cd8608744bf4d18c9f23578c3cf4a1cd1862b2d · 2026-07-20T11:02:36Z
  • Declarations: 49
  • Referenced calls: 136

Declared symbols

  • RecorderEventSink — interface at line 56
  • BrowserContext — exported class at line 62; references from, constructor, super, TimeoutSettings, Clock, Credentials, _onBinding, _onClose, _onPage, _onRoute, _onWebSocketRoute, add, emit, fromNullable, ConsoleMessage, has, _serviceWorkerScope, for, url, startsWith
  • from — static at line 88
  • fromNullable — static at line 92; references from
  • serviceWorker — const at line 113; references from, add, emit, fromNullable, ConsoleMessage, has, _serviceWorkerScope, for, url, startsWith
  • worker — const at line 119; references fromNullable, ConsoleMessage, emit, has, _serviceWorkerScope, for, url, startsWith
  • page — const at line 120; references fromNullable, ConsoleMessage, emit, has, _serviceWorkerScope, for, url, startsWith
  • consoleMessage — const at line 121; references ConsoleMessage, emit, has, _serviceWorkerScope, for, url, startsWith
  • scope — const at line 125; references _serviceWorkerScope, for, url, startsWith, emit
  • pageObject — const at line 134; references from, parseError, emit, WebError, type, accept, dismiss
  • parsedError — const at line 135; references parseError, emit, WebError, from, type, accept, dismiss
  • dialogObject — const at line 141; references from, emit, type, accept, dismiss
  • hasListeners — let at line 142; references emit, type, accept, dismiss
  • page — const at line 143; references emit, type, accept, dismiss
  • defaultContent — const at line 184; references endsWith, _recordIntoHAR
  • request — const at line 221; references from, fromNullable, _setResponseEndTiming, emit, resolve, _onRoute, _safePage, slice, for, isClosed, matches, url, indexOf, willExpire, splice, handle, _updateInterceptionPatterns, _innerContinue
  • response — const at line 222; references fromNullable, _setResponseEndTiming, emit, resolve, _onRoute, request, _safePage, slice, for, isClosed, matches, url, indexOf, willExpire, splice, handle, _updateInterceptionPatterns, _innerContinue
  • page — const at line 223; references fromNullable, _setResponseEndTiming, emit, resolve, _onRoute, request, _safePage, slice, for, isClosed, matches, url, indexOf, willExpire, splice, handle, _updateInterceptionPatterns, _innerContinue
  • page — const at line 234; references request, _safePage, slice, for, isClosed, matches, url, indexOf, willExpire, splice, handle, _updateInterceptionPatterns
  • routeHandlers — const at line 235; references slice, for, isClosed, matches, request, url, indexOf, willExpire, splice, handle, _updateInterceptionPatterns
  • index — const at line 242; references indexOf, willExpire, splice, handle, _updateInterceptionPatterns
  • handled — const at line 247; references handle, _updateInterceptionPatterns
  • routeHandler — const at line 259; references find, matches, url, handle, connectToServer, _onBinding, get, call
  • func — const at line 267; references get, call, _serviceWorkerScope, URL, endsWith
  • url — let at line 275; references URL, endsWith
  • source — const at line 362; references evaluationScript, from, addInitScript
  • result — const at line 367; references exposeBinding
  • result — const at line 373; references exposeBinding
  • binding — const at line 374; references callback, set, from, route, unshift, RouteHandler, _updateInterceptionPatterns, DisposableStub, unroute
  • localUtils — const at line 391; references Error, _recordIntoHAR
  • harRouter — const at line 398; references create
  • removed — const at line 416; references for, urlMatchesEqual, push
  • remaining — const at line 417; references for, urlMatchesEqual, push
  • promises — const at line 430; references stop, all, _updateInterceptionPatterns
  • patterns — const at line 437; references prepareInterceptionPatterns, _wrapApiCall, setNetworkInterceptionPatterns
  • patterns — const at line 442; references prepareInterceptionPatterns, _wrapApiCall, setWebSocketInterceptionPatterns
  • timeoutOptions — const at line 452; references timeout
  • predicate — const at line 453; references createForEvent, rejectOnTimeout, rejectOnEvent, TargetClosedError, _effectiveCloseReason, waitForEvent, dispose, storageState, mkdirIfNeeded, writeFile, stringify
  • waiter — const at line 454; references createForEvent, rejectOnTimeout, rejectOnEvent, TargetClosedError, _effectiveCloseReason, waitForEvent, dispose, storageState, mkdirIfNeeded, writeFile, stringify
  • result — const at line 458; references waitForEvent, dispose, storageState, mkdirIfNeeded, writeFile, stringify
  • state — const at line 465; references storageState
  • state — const at line 474; references prepareStorageState, setStorageState
  • result — const at line 490; references newCDPSession
  • prepareStorageState — function at line 537; references parse, readFile, rewriteErrorMessage
  • prepareBrowserContextParams — exported function at line 548; references validateHeaders, headersObjectToArray, prepareStorageState, toAcceptDownloadsProtocol, toClientCertificatesProtocol, resolve
  • contextParams — const at line 551; references headersObjectToArray, prepareStorageState, toAcceptDownloadsProtocol, toClientCertificatesProtocol
  • toAcceptDownloadsProtocol — function at line 570
  • toClientCertificatesProtocol — exported function at line 578; references async, readFile, all, bufferizeContent
  • bufferizeContent — const at line 582; references async, readFile

Imported modules

  • fs
  • path
  • @isomorphic/headers
  • @isomorphic/urlMatch
  • @isomorphic/rtti
  • @utils/stackTrace
  • ./browser
  • ./cdpSession
  • ./channelOwner
  • ./clientHelper
  • ./clock
  • ./consoleMessage
  • ./credentials
  • ./debugger
  • ./dialog
  • ./disposable
  • ./errors
  • ./events
  • ./fetch
  • ./frame
  • ./harRouter
  • ./network
  • ./page
  • ./tracing
  • ./waiter
  • ./webError
  • ./worker
  • ./timeoutSettings
  • ./fileUtils
  • ./types
  • ../../types/structs
  • ../../types/types
  • ./channels
  • @isomorphic/codegen/actions

File-level call references


Source: packages/playwright-core/src/client/browserContext.ts

Generated by smolify with deterministic-repository-import-v2 · 1 source file