Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/puppeteer/puppeteer
/ functions
Functions
2,339 in github.com/puppeteer/puppeteer
⨍
Functions
2,339
◇
Types & classes
605
↓ 3 callers
Function
normalizeHeaderValue
(name: string, value: string)
packages/puppeteer-core/src/util/httpUtils.ts:13
↓ 3 callers
Method
on
* Bind an event listener to fire when an event occurs. * @param type - the event type you'd like to listen to. Can be a string or symbol. * @par
packages/puppeteer-core/src/common/EventEmitter.ts:86
↓ 3 callers
Method
onClosed
* @internal
packages/puppeteer-core/src/cdp/CdpSession.ts:168
↓ 3 callers
Method
overridePermissions
( origin: string, permissions: Permission[], )
packages/puppeteer-core/src/cdp/BrowserContext.ts:74
↓ 3 callers
Function
parseBuildId
(buildId: string)
packages/browsers/src/browser-data/firefox.ts:63
↓ 3 callers
Method
queryAll
* Queries for multiple nodes given a selector and {@link ElementHandle}. * * Akin to {@link https://developer.mozilla.org/en-US/docs/Web/API/Doc
packages/puppeteer-core/src/common/QueryHandler.ts:105
↓ 3 callers
Function
race
* Creates a race between multiple locators trying to locate elements in * parallel but ensures that only a single element receives the action. *
packages/puppeteer-core/src/api/locators/locators.ts:123
↓ 3 callers
Method
redirectChain
()
packages/puppeteer-core/src/cdp/HTTPRequest.ts:186
↓ 3 callers
Method
registerCustomQueryHandler
* Registers a {@link CustomQueryHandler | custom query handler}. * * @remarks * After registration, the handler can be used everywhere where
packages/puppeteer-core/src/common/Puppeteer.ts:68
↓ 3 callers
Method
removeFrame
(frame: FrameType)
packages/puppeteer-core/src/cdp/FrameTree.ts:72
↓ 3 callers
Method
removeScriptToEvaluateOnNewDocument
( identifier: string, )
packages/puppeteer-core/src/cdp/Page.ts:1132
↓ 3 callers
Method
reset
()
packages/testserver/src/index.ts:202
↓ 3 callers
Method
run
* @param context - Context to run the binding in; the context should have * the binding added to it beforehand. * @param id - ID of the call. Th
packages/puppeteer-core/src/cdp/Binding.ts:45
↓ 3 callers
Method
scrollIntoView
( this: CdpElementHandle<Element>, )
packages/puppeteer-core/src/cdp/ElementHandle.ts:86
↓ 3 callers
Method
send
( method: T, params: Commands[T]['params'], )
packages/puppeteer-core/src/bidi/core/Session.ts:107
↓ 3 callers
Method
send
( method: T, params?: ProtocolMapping.Commands[T]['paramsType'][0], options?: CommandOptions, )
packages/puppeteer-core/src/cdp/Connection.ts:135
↓ 3 callers
Method
setCSP
(path: string, csp: string)
packages/testserver/src/index.ts:158
↓ 3 callers
Method
setPermissions
( origin: string, descriptor: Bidi.Permissions.PermissionDescriptor, state: Bidi.Permissions.Permi
packages/puppeteer-core/src/bidi/core/UserContext.ts:217
↓ 3 callers
Method
setTarget
* Sets the {@link CdpTarget} associated with the session instance. * * @internal
packages/puppeteer-core/src/cdp/CdpSession.ts:60
↓ 3 callers
Method
setUserAgent
( userAgentOrOptions: | string | { userAgent?: string; userAgentMetadata?:
packages/puppeteer-core/src/cdp/Page.ts:841
↓ 3 callers
Method
setupEventListeners
(session: CDPSession)
packages/puppeteer-core/src/cdp/FrameManager.ts:181
↓ 3 callers
Function
setupHttpHooks
()
packages/ng-schematics/test/src/utils.ts:38
↓ 3 callers
Method
statusText
()
packages/puppeteer-core/src/cdp/HTTPResponse.ts:107
↓ 3 callers
Method
stop
()
packages/puppeteer-core/src/node/ScreenRecorder.ts:349
↓ 3 callers
Method
subscribe
( events: [string, ...string[]], contexts?: [string, ...string[]], )
packages/puppeteer-core/src/bidi/core/Session.ts:118
↓ 3 callers
Method
supports
* Check if this provider supports the given browser/platform. * Used for filtering before attempting downloads. * * Can be synchronous for qu
packages/browsers/src/provider.ts:71
↓ 3 callers
Method
terminationPromise
()
packages/puppeteer-core/src/cdp/LifecycleWatcher.ts:213
↓ 3 callers
Method
toString
()
packages/puppeteer-core/src/bidi/JSHandle.ts:76
↓ 3 callers
Method
toString
()
packages/puppeteer-core/src/cdp/JSHandle.ts:75
↓ 3 callers
Method
transferHandle
(handle: T)
packages/puppeteer-core/src/cdp/IsolatedWorld.ts:236
↓ 3 callers
Method
unregister
* Unregisters the {@link CustomQueryHandler | custom query handler} for the * given name. * * @throws `Error` if there is no handler under th
packages/puppeteer-core/src/common/CustomQueryHandler.ts:134
↓ 3 callers
Method
update
(chunk: Buffer)
packages/browsers/src/httpUtil.ts:87
↓ 3 callers
Method
updateHeaders
(headers: Protocol.Network.Headers)
packages/puppeteer-core/src/cdp/HTTPRequest.ts:127
↓ 3 callers
Function
updateJsonValues
( json: Record<string, any>, target: string, updates: Array<{name: string; value: any}>, overwrite = f
packages/ng-schematics/src/schematics/utils/packages.ts:66
↓ 3 callers
Method
userAgent
()
packages/puppeteer-core/src/cdp/Browser.ts:588
↓ 3 callers
Method
waitForDevicePrompt
* This method is typically coupled with an action that triggers a device * request from an api such as WebBluetooth. * * :::caution * *
packages/puppeteer-core/src/cdp/Page.ts:1332
↓ 3 callers
Method
waitForNavigation
( options: WaitForOptions = {}, )
packages/puppeteer-core/src/bidi/Frame.ts:351
↓ 2 callers
Method
#adoptCdpSessionIfNeeded
(client: CDPSession, request: CdpHTTPRequest)
packages/puppeteer-core/src/cdp/NetworkManager.ts:834
↓ 2 callers
Method
#applyNetworkConditions
()
packages/puppeteer-core/src/bidi/Page.ts:863
↓ 2 callers
Method
#applyProtocolCacheDisabled
(client: CDPSession)
packages/puppeteer-core/src/cdp/NetworkManager.ts:356
↓ 2 callers
Method
#bindListeners
()
packages/puppeteer-core/src/cdp/WebMCP.ts:359
↓ 2 callers
Method
#buildMetricsObject
(metrics?: Protocol.Performance.Metric[])
packages/puppeteer-core/src/cdp/Page.ts:915
↓ 2 callers
Method
#canIgnoreError
(error: unknown)
packages/puppeteer-core/src/cdp/Extension.ts:100
↓ 2 callers
Method
#clearListeners
()
packages/browsers/src/launch.ts:404
↓ 2 callers
Method
#createBrowserContext
(userContext: UserContext)
packages/puppeteer-core/src/bidi/Browser.ts:206
↓ 2 callers
Method
#createUserContext
(id: string)
packages/puppeteer-core/src/bidi/core/Browser.ts:118
↓ 2 callers
Method
#createWindowRealm
(sandbox?: string)
packages/puppeteer-core/src/bidi/core/BrowsingContext.ts:350
↓ 2 callers
Method
#detached$
()
packages/puppeteer-core/src/bidi/Frame.ts:274
↓ 2 callers
Method
#dispatchResponse
(message: object)
packages/puppeteer-core/src/cdp/ExtensionTransport.ts:70
↓ 2 callers
Method
#emitLoadingFailed
( client: CDPSession, event: Protocol.Network.LoadingFailedEvent, )
packages/puppeteer-core/src/cdp/NetworkManager.ts:814
↓ 2 callers
Method
#emitLoadingFinished
( client: CDPSession, event: Protocol.Network.LoadingFinishedEvent, )
packages/puppeteer-core/src/cdp/NetworkManager.ts:776
↓ 2 callers
Method
#emitResponseEvent
( _client: CDPSession, responseReceived: Protocol.Network.ResponseReceivedEvent, extraInfo: Protoc
packages/puppeteer-core/src/cdp/NetworkManager.ts:643
↓ 2 callers
Method
#finish
(value: T | V | TimeoutError)
packages/puppeteer-core/src/util/Deferred.ts:81
↓ 2 callers
Method
#finishInitializationIfReady
(targetId?: string)
packages/puppeteer-core/src/cdp/TargetManager.ts:454
↓ 2 callers
Method
#get
()
packages/puppeteer-core/src/common/ScriptInjector.ts:40
↓ 2 callers
Method
#go
( delta: number, options: WaitForOptions, )
packages/puppeteer-core/src/bidi/Page.ts:996
↓ 2 callers
Method
#go
( delta: number, options: WaitForOptions, )
packages/puppeteer-core/src/cdp/Page.ts:1037
↓ 2 callers
Method
#isExtensionOrigin
(origin: string)
packages/puppeteer-core/src/cdp/FrameManager.ts:560
↓ 2 callers
Method
#keyDescriptionForString
(keyString: KeyInput)
packages/puppeteer-core/src/cdp/Input.ts:100
↓ 2 callers
Method
#modifierBit
(key: string)
packages/puppeteer-core/src/cdp/Input.ts:84
↓ 2 callers
Method
#next
()
packages/puppeteer-core/src/injected/PQuerySelector.ts:153
↓ 2 callers
Method
#onClientDisconnect
* Called when the frame's client is disconnected. We don't know if the * disconnect means that the frame is removed or if it will be replaced by a
packages/puppeteer-core/src/cdp/FrameManager.ts:109
↓ 2 callers
Method
#onFrameAttached
( session: CDPSession, frameId: string, parentFrameId: string, )
packages/puppeteer-core/src/cdp/FrameManager.ts:436
↓ 2 callers
Method
#onFrameNavigated
( framePayload: Protocol.Page.Frame, navigationType: Protocol.Page.NavigationType, )
packages/puppeteer-core/src/cdp/FrameManager.ts:458
↓ 2 callers
Method
#patchRequestEventHeaders
( requestWillBeSentEvent: Protocol.Network.RequestWillBeSentEvent, requestPausedEvent: Protocol.Fetch.
packages/puppeteer-core/src/cdp/NetworkManager.ts:478
↓ 2 callers
Method
#removeAttachmentListeners
(session: CDPSession | Connection)
packages/puppeteer-core/src/cdp/TargetManager.ts:213
↓ 2 callers
Method
#resolvePinnedBrowserIfNeeded
(buildId: string, browserName: Browser)
packages/browsers/src/CLI.ts:610
↓ 2 callers
Method
#runHooks
()
packages/browsers/src/launch.ts:384
↓ 2 callers
Method
#setupAttachmentListeners
(session: CDPSession | Connection)
packages/puppeteer-core/src/cdp/TargetManager.ts:195
↓ 2 callers
Method
#setupPrimaryTargetListeners
* Sets up listeners for the primary target. The primary target can change * during a navigation to a prerended page.
packages/puppeteer-core/src/cdp/Page.ts:325
↓ 2 callers
Method
#toggleInterception
( phases: [Bidi.Network.InterceptPhase, ...Bidi.Network.InterceptPhase[]], interception: string | unde
packages/puppeteer-core/src/bidi/Page.ts:780
↓ 2 callers
Method
#update
(callback: () => void)
packages/puppeteer-core/src/common/ScriptInjector.ts:35
↓ 2 callers
Method
#waitForLoad$
(options: WaitForOptions = {})
packages/puppeteer-core/src/bidi/Frame.ts:497
↓ 2 callers
Method
#waitForNetworkIdle$
(options: WaitForOptions = {})
packages/puppeteer-core/src/bidi/Frame.ts:541
↓ 2 callers
Method
_abort
( errorReason: Protocol.Network.ErrorReason | null, )
packages/puppeteer-core/src/cdp/HTTPRequest.ts:285
↓ 2 callers
Method
_appendAndMergeSection
( output: DocSection, docSection: DocSection, )
tools/docgen/src/custom_markdown_documenter.ts:1514
↓ 2 callers
Method
_appendExcerptTokenWithHyperlinks
( docNodeContainer: DocNodeContainer, token: ExcerptToken, )
tools/docgen/src/custom_markdown_documenter.ts:1242
↓ 2 callers
Method
_appendExcerptWithHyperlinks
( docNodeContainer: DocNodeContainer, excerpt: Excerpt, )
tools/docgen/src/custom_markdown_documenter.ts:1233
↓ 2 callers
Function
_connectToBrowser
( options: ConnectOptions, )
packages/puppeteer-core/src/common/BrowserConnector.ts:59
↓ 2 callers
Method
_continue
* @internal
packages/puppeteer-core/src/cdp/HTTPRequest.ts:206
↓ 2 callers
Method
_createModifiersCell
(apiItem: ApiItem)
tools/docgen/src/custom_markdown_documenter.ts:1414
↓ 2 callers
Method
_createParagraphForTypeExcerpt
(excerpt: Excerpt)
tools/docgen/src/custom_markdown_documenter.ts:1218
↓ 2 callers
Method
_createPropertyTypeCell
(apiItem: ApiItem)
tools/docgen/src/custom_markdown_documenter.ts:1461
↓ 2 callers
Method
_getDevToolsTargetPage
(devtoolsTargetId: string)
packages/puppeteer-core/src/cdp/Browser.ts:451
↓ 2 callers
Method
_getFilenameForApiItem
(apiItem: ApiItem, link = false)
tools/docgen/src/custom_markdown_documenter.ts:1562
↓ 2 callers
Method
_getOverloadElementId
(overloadIndex: number)
tools/docgen/src/custom_markdown_documenter.ts:1625
↓ 2 callers
Method
_hasDevToolsTarget
(pageTargetId: string)
packages/puppeteer-core/src/cdp/Browser.ts:477
↓ 2 callers
Method
_isTargetExposed
()
packages/puppeteer-core/src/cdp/Target.ts:204
↓ 2 callers
Method
_onLoadingStarted
()
packages/puppeteer-core/src/cdp/Frame.ts:408
↓ 2 callers
Method
_onLoadingStopped
()
packages/puppeteer-core/src/cdp/Frame.ts:403
↓ 2 callers
Method
_rawSend
* @internal
packages/puppeteer-core/src/cdp/Connection.ts:152
↓ 2 callers
Method
_reject
( callback: Callback, errorMessage: string | ProtocolError, originalMessage?: string, )
packages/puppeteer-core/src/common/CallbackRegistry.ts:71
↓ 2 callers
Method
_respond
(response: Partial<ResponseForRequest>)
packages/puppeteer-core/src/cdp/HTTPRequest.ts:233
↓ 2 callers
Method
_targetManager
()
packages/puppeteer-core/src/cdp/Target.ts:158
↓ 2 callers
Function
addFilesSingle
( name: string, project: AngularProject, {options, applyPath, movePath, relativeToWorkspacePath}: FilesO
packages/ng-schematics/src/schematics/utils/files.ts:47
↓ 2 callers
Function
addFilesToProjects
( projects: Record<string, AngularProject>, options: FilesOptions, )
packages/ng-schematics/src/schematics/utils/files.ts:36
↓ 2 callers
Method
addPreloadScript
( functionDeclaration: string, options: AddPreloadScriptOptions = {}, )
packages/puppeteer-core/src/bidi/core/Browser.ts:174
↓ 2 callers
Method
addPreloadScript
(preloadScript: CdpPreloadScript)
packages/puppeteer-core/src/cdp/Frame.ts:326
↓ 2 callers
Function
adjustBrowserLaunchTimeout
* Adjusts Mocha.Context timeout and returns launch params with timeouts set.
test/src/mocha-utils.ts:171
↓ 2 callers
Function
assertSupportedUrlRestrictions
(options: { allowlist?: string[]; blocklist?: string[]; protocol?: string; })
packages/puppeteer-core/src/common/BrowserConnector.ts:31
← previous
next →
301–400 of 2,339, ranked by callers