Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChromeDevTools/chrome-devtools-mcp
/ functions
Functions
3,308 in github.com/ChromeDevTools/chrome-devtools-mcp
⨍
Functions
3,308
◇
Types & classes
246
↓ 2 callers
Method
#redactNetworkHeaders
( headers: Record<string, string>, )
src/formatters/NetworkFormatter.ts:164
↓ 2 callers
Method
#resetIssueAggregator
()
src/PageCollector.ts:261
↓ 2 callers
Method
#sendBatch
(events: BufferedEvent[])
src/telemetry/watchdog/ClearcutSender.ts:182
↓ 2 callers
Method
#updateSelectedPageTimeouts
()
src/McpContext.ts:554
↓ 2 callers
Function
RE
(s, flag)
src/third_party/lighthouse-devtools-mcp-bundle.js:8311
↓ 2 callers
Function
__copyProps
(to, from, except, desc)
src/third_party/lighthouse-devtools-mcp-bundle.js:30
↓ 2 callers
Method
_evaluateInContext
* Evaluate an expression in the given execution context; an undefined contextId implies the main * page without isolation. * @param {str
src/third_party/lighthouse-devtools-mcp-bundle.js:39349
↓ 2 callers
Function
_getLocaleMessages
(locale)
src/third_party/lighthouse-devtools-mcp-bundle.js:9869
↓ 2 callers
Method
_getOrCreateIsolatedContextId
* Returns the cached isolated execution context ID or creates a new execution context for the main * frame. The cached execution context is cle
src/third_party/lighthouse-devtools-mcp-bundle.js:39327
↓ 2 callers
Function
_isWhiteSpace
(c)
src/third_party/lighthouse-devtools-mcp-bundle.js:9009
↓ 2 callers
Method
_onResponse
* @param {LH.Crdp.Network.Response} response * @param {number} timestamp in seconds * @param {LH.Crdp.Network.ResponseReceivedEvent['typ
src/third_party/lighthouse-devtools-mcp-bundle.js:33022
↓ 2 callers
Method
_updateTimingsForLightrider
* LR gets additional, accurate timing information from its underlying fetch infrastructure. This * is passed in via X-Headers similar to 'X-To
src/third_party/lighthouse-devtools-mcp-bundle.js:33104
↓ 2 callers
Method
_updateTransferSizeForLightrider
* LR loses transfer size information, but passes it in the 'X-TotalFetchedSize' header. * 'X-TotalFetchedSize' is the canonical transfer size i
src/third_party/lighthouse-devtools-mcp-bundle.js:33083
↓ 2 callers
Method
_wrapWithTimeout
* @template T * @param {Promise<T>} promise * @param {number} ms
src/third_party/lighthouse-devtools-mcp-bundle.js:59477
↓ 2 callers
Function
accomodateEventInStack
(event, stack, pushEventToStack = true)
src/third_party/lighthouse-devtools-mcp-bundle.js:23838
↓ 2 callers
Method
acquireActiveConnectionFromRequest
* Return the connection currently being used to fetch a request. If no connection * currently being used for this request, an error will be thr
src/third_party/lighthouse-devtools-mcp-bundle.js:13349
↓ 2 callers
Function
addAsyncParentToStack
(stackTrace, taskName)
src/third_party/lighthouse-devtools-mcp-bundle.js:24097
↓ 2 callers
Function
addCrossLinks
(text: string, tools: ToolWithAnnotations[])
scripts/generate-docs.ts:67
↓ 2 callers
Method
addFrameIfNotExists
(seqId, startTime, isDropped, isPartial)
src/third_party/lighthouse-devtools-mcp-bundle.js:21589
↓ 2 callers
Method
addLog
(extensionId: string, log: ConsoleMessage | UncaughtError)
src/ServiceWorkerCollector.ts:164
↓ 2 callers
Method
analyze
(records)
src/third_party/lighthouse-devtools-mcp-bundle.js:11530
↓ 2 callers
Function
anyValuesNaN
(...values)
src/third_party/lighthouse-devtools-mcp-bundle.js:27337
↓ 2 callers
Function
arrayContains
(arr, elem)
src/third_party/lighthouse-devtools-mcp-bundle.js:49722
↓ 2 callers
Function
arrayOfObjectsJsonGenerator
(arrayOfObjects)
src/third_party/lighthouse-devtools-mcp-bundle.js:33825
↓ 2 callers
Method
assertHeadingKeysExist
* This catches typos in the `key` property of a heading definition of table/opportunity details. * Throws an error if any of keys referenced by
src/third_party/lighthouse-devtools-mcp-bundle.js:4179
↓ 2 callers
Function
assertValidAudit
(auditDefinition)
src/third_party/lighthouse-devtools-mcp-bundle.js:34741
↓ 2 callers
Function
assertValidSettings
(settings)
src/third_party/lighthouse-devtools-mcp-bundle.js:34802
↓ 2 callers
Function
assignProfileSourceIfKnown
(profileData, source)
src/third_party/lighthouse-devtools-mcp-bundle.js:20130
↓ 2 callers
Function
atLeastOneFails
(parsedCsps, checker)
src/third_party/lighthouse-devtools-mcp-bundle.js:49760
↓ 2 callers
Method
attachConsoleMessage
(msgid: number)
src/tools/ToolDefinition.ts:156
↓ 2 callers
Method
attachDevToolsData
(data: DevToolsData)
src/tools/ToolDefinition.ts:158
↓ 2 callers
Method
attachImage
(value: ImageContentData)
src/tools/ToolDefinition.ts:151
↓ 2 callers
Method
attachLighthouseResult
(result: LighthouseData)
src/tools/ToolDefinition.ts:167
↓ 2 callers
Method
attachTraceSummary
(trace: TraceResult)
src/tools/ToolDefinition.ts:160
↓ 2 callers
Function
awaitArtifacts
(artifactState)
src/third_party/lighthouse-devtools-mcp-bundle.js:59875
↓ 2 callers
Method
beginsWithScheme
(url)
src/third_party/lighthouse-devtools-mcp-bundle.js:29821
↓ 2 callers
Method
beginsWithWindowsDriveLetter
(url)
src/third_party/lighthouse-devtools-mcp-bundle.js:29818
↓ 2 callers
Method
bringToFront
()
src/devtools/McpHostBindingAdapter.ts:60
↓ 2 callers
Function
buildDisabledMessage
( toolName: string, flag: string, categoryLabel?: string, )
src/ToolHandler.ts:26
↓ 2 callers
Method
calculate
* Calculates cumulative layout shifts per cluster (session) of LayoutShift * events -- where a new cluster is created when there's a gap of mor
src/third_party/lighthouse-devtools-mcp-bundle.js:52741
↓ 2 callers
Function
calculateDocFirstByteTs
(docRequest)
src/third_party/lighthouse-devtools-mcp-bundle.js:25261
↓ 2 callers
Function
calculateProgress
(value, phase)
src/third_party/lighthouse-devtools-mcp-bundle.js:30828
↓ 2 callers
Function
cancel
()
src/third_party/lighthouse-devtools-mcp-bundle.js:60428
↓ 2 callers
Function
cleanupInterception
()
src/tools/pages.ts:48
↓ 2 callers
Method
cleanupPageDestroyed
(page: Page)
src/PageCollector.ts:156
↓ 2 callers
Function
clearDataForOrigin
(session, url, clearStorageTypes)
src/third_party/lighthouse-devtools-mcp-bundle.js:60095
↓ 2 callers
Function
clearNetworkThrottling
(session)
src/third_party/lighthouse-devtools-mcp-bundle.js:60265
↓ 2 callers
Method
clone
()
src/third_party/lighthouse-devtools-mcp-bundle.js:48660
↓ 2 callers
Method
cloneWithoutRelationships
()
src/third_party/lighthouse-devtools-mcp-bundle.js:11892
↓ 2 callers
Function
collectMainThreadActivity
(data31)
src/third_party/lighthouse-devtools-mcp-bundle.js:24763
↓ 2 callers
Function
combineTraceWindowsMicro
(windows)
src/third_party/lighthouse-devtools-mcp-bundle.js:16799
↓ 2 callers
Function
completeURL
(base, url)
src/third_party/lighthouse-devtools-mcp-bundle.js:23142
↓ 2 callers
Method
computeLogNormalScore
* Computes a score between 0 and 1 based on the measured `value`. Score is determined by * considering a log-normal distribution governed by tw
src/third_party/lighthouse-devtools-mcp-bundle.js:4077
↓ 2 callers
Method
computeNodeStartPosition
* We attempt to start nodes by their observed start time using the request priority as a tie breaker. * When simulating, just because a low pri
src/third_party/lighthouse-devtools-mcp-bundle.js:13997
↓ 2 callers
Method
computeValidLCPAllFrames
* Returns the maximum LCP event across all frames in `events`. * Sets `invalidated` flag if LCP of every frame is invalidated. *
src/third_party/lighthouse-devtools-mcp-bundle.js:1381
↓ 2 callers
Function
computeWasteWithGraph
(urlsToChange, graph2, simulator)
src/third_party/lighthouse-devtools-mcp-bundle.js:28839
↓ 2 callers
Method
concatenate
(devToolsPath, ...appendage)
src/third_party/lighthouse-devtools-mcp-bundle.js:29651
↓ 2 callers
Function
convertConsoleMessageConciseToString
(msg: ConsoleMessageConcise)
src/formatters/ConsoleFormatter.ts:291
↓ 2 callers
Function
convertNetworkRequestConciseToString
( data: NetworkRequestConcise, )
src/formatters/NetworkFormatter.ts:259
↓ 2 callers
Function
createDependencyError
* @license * Copyright 2021 Google LLC * SPDX-License-Identifier: Apache-2.0
src/third_party/lighthouse-devtools-mcp-bundle.js:59777
↓ 2 callers
Method
createNoFirstContentfulPaintError
* @return {Error}
src/third_party/lighthouse-devtools-mcp-bundle.js:999
↓ 2 callers
Method
createNoNavstartError
* @return {Error}
src/third_party/lighthouse-devtools-mcp-bundle.js:981
↓ 2 callers
Function
createOverlayForEvents
(events, outlineReason = "ERROR")
src/third_party/lighthouse-devtools-mcp-bundle.js:26888
↓ 2 callers
Function
createParsedUrl
(url)
src/third_party/lighthouse-devtools-mcp-bundle.js:30515
↓ 2 callers
Method
createRunnerError
* @param {any} err * @param {LH.Config.Settings} settings
src/third_party/lighthouse-devtools-mcp-bundle.js:58760
↓ 2 callers
Method
createSimulator
(settings)
src/third_party/lighthouse-devtools-mcp-bundle.js:13630
↓ 2 callers
Function
createStackTrace
( devTools: TargetUniverse, rawStackTrace: Protocol.Runtime.StackTrace, targetId: string | undefined, )
src/devtools/DevtoolsUtils.ts:472
↓ 2 callers
Function
createStructuredPage
( page: Page, context: McpContext, rawTitle: string, )
src/McpResponse.ts:1420
↓ 2 callers
Function
data3
()
src/third_party/lighthouse-devtools-mcp-bundle.js:18487
↓ 2 callers
Function
data4
()
src/third_party/lighthouse-devtools-mcp-bundle.js:18619
↓ 2 callers
Function
data8
()
src/third_party/lighthouse-devtools-mcp-bundle.js:20264
↓ 2 callers
Function
deepClone
(json)
src/third_party/lighthouse-devtools-mcp-bundle.js:57640
↓ 2 callers
Function
deepCloneConfigJson
(json)
src/third_party/lighthouse-devtools-mcp-bundle.js:57643
↓ 2 callers
Function
detectDisplay
()
src/browser.ts:167
↓ 2 callers
Method
detectOpenDevToolsWindows
()
src/McpContext.ts:739
↓ 2 callers
Method
dispatch
* Routes network events to their handlers, so we can construct networkRecords * @param {LH.Protocol.RawEventMessage} event
src/third_party/lighthouse-devtools-mcp-bundle.js:33466
↓ 2 callers
Method
eachSection
(callback)
src/third_party/lighthouse-devtools-mcp-bundle.js:38724
↓ 2 callers
Function
enable
(namespaces)
src/third_party/lighthouse-devtools-mcp-bundle.js:355
↓ 2 callers
Function
endsWithSuffix
(filename, suffix)
src/third_party/lighthouse-devtools-mcp-bundle.js:33736
↓ 2 callers
Function
ensureBrowserConnected
(options: { browserURL?: string; wsEndpoint?: string; wsHeaders?: Record<string, string>; devtools: bo
src/browser.ts:47
↓ 2 callers
Function
entryIsTopLevel
(entry)
src/third_party/lighthouse-devtools-mcp-bundle.js:21194
↓ 2 callers
Function
escapeHtmlTags
(text: string)
scripts/generate-docs.ts:61
↓ 2 callers
Function
estimateCompressionRatioForScript
(script)
src/third_party/lighthouse-devtools-mcp-bundle.js:25243
↓ 2 callers
Method
estimateRTTByOrigin
* Estimates the RTT to each origin by examining observed network timing information. * Attempts to use the most accurate information first and
src/third_party/lighthouse-devtools-mcp-bundle.js:11394
↓ 2 callers
Function
estimateSavingsWithGraphs
(wastedBytesByRequestId, simulator, graph2)
src/third_party/lighthouse-devtools-mcp-bundle.js:25143
↓ 2 callers
Function
evaluateRawCspsForXss
(rawCsps)
src/third_party/lighthouse-devtools-mcp-bundle.js:49914
↓ 2 callers
Function
exit
(code: number)
src/telemetry/watchdog/main.ts:93
↓ 2 callers
Function
extractExtensionId
(origin: string)
src/ServiceWorkerCollector.ts:212
↓ 2 callers
Function
extractHostname
(url, urlIsValidHostname)
src/third_party/lighthouse-devtools-mcp-bundle.js:31620
↓ 2 callers
Function
extractSampleTraceId
(event)
src/third_party/lighthouse-devtools-mcp-bundle.js:17394
↓ 2 callers
Function
fetchPageTitle
(page: Page)
src/McpResponse.ts:1413
↓ 2 callers
Function
fillFormElement
( uid: string, value: string, context: McpContext, page: ContextPage, )
src/tools/input.ts:256
↓ 2 callers
Function
filterCategoriesByAvailableAudits
(categories, availableAudits)
src/third_party/lighthouse-devtools-mcp-bundle.js:34954
↓ 2 callers
Method
filterChildren
(children)
src/third_party/lighthouse-devtools-mcp-bundle.js:24499
↓ 2 callers
Method
filteredTraceSort
* Sorts and filters trace events by timestamp and respecting the nesting structure inherent to * parent/child event relationships. *
src/third_party/lighthouse-devtools-mcp-bundle.js:1086
↓ 2 callers
Function
finalize40
(partialModel)
src/third_party/lighthouse-devtools-mcp-bundle.js:27201
↓ 2 callers
Function
finalize45
(partialModel)
src/third_party/lighthouse-devtools-mcp-bundle.js:28972
↓ 2 callers
Function
finalizeArtifacts
(baseArtifacts, gathererArtifacts)
src/third_party/lighthouse-devtools-mcp-bundle.js:60002
↓ 2 callers
Function
findFirstDescendantsOfType
(root2, entryToNode4, predicateAccept, predicateIgnore)
src/third_party/lighthouse-devtools-mcp-bundle.js:20540
↓ 2 callers
Method
findLastDocumentForUrl
(records, resourceUrl)
src/third_party/lighthouse-devtools-mcp-bundle.js:11543
← previous
next →
401–500 of 3,308, ranked by callers