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
↓ 5 callers
Method
numberInProgress
(type)
src/third_party/lighthouse-devtools-mcp-bundle.js:13732
↓ 5 callers
Function
pngHeight
* Reads the pixel height from a PNG buffer's IHDR chunk (bytes 20..23).
tests/tools/screenshot.test.ts:31
↓ 5 callers
Method
preEncodeSpecialCharactersInPath
(path7)
src/third_party/lighthouse-devtools-mcp-bundle.js:29587
↓ 5 callers
Method
resetForTesting
()
src/telemetry/ClearcutLogger.ts:70
↓ 5 callers
Function
resetResult
(result)
src/third_party/lighthouse-devtools-mcp-bundle.js:31853
↓ 5 callers
Function
resolveCanonicalPath
(filePath: string)
src/utils/files.ts:26
↓ 5 callers
Function
sanitizeParams
( params: ShapeOutput<zod.ZodRawShape>, schema: zod.ZodRawShape, )
src/telemetry/transformation.ts:140
↓ 5 callers
Method
securityOrigin
()
src/third_party/lighthouse-devtools-mcp-bundle.js:29853
↓ 5 callers
Method
sendShutdownEvent
()
src/telemetry/watchdog/ClearcutSender.ts:88
↓ 5 callers
Method
setScreenRecorder
( data: {recorder: ScreenRecorder; filePath: string} | null, )
src/McpContext.ts:493
↓ 5 callers
Function
shutdown
(reason: string)
src/bin/chrome-devtools-mcp-main.ts:41
↓ 5 callers
Method
stop
()
tests/server.ts:96
↓ 5 callers
Function
testIncludesThirdPartyDeveloperTools
( handlerAction: ( response: McpResponse, context: McpContext, ) => Promise<void>, too
tests/McpResponse.test.ts:1109
↓ 5 callers
Function
traceResultIsSuccess
( x: TraceResult | TraceParseError, )
src/trace-processing/parse.ts:17
↓ 5 callers
Method
truncate
* @param {string} string * @param {number} characterLimit * @param {string} ellipseSuffix
src/third_party/lighthouse-devtools-mcp-bundle.js:3885
↓ 5 callers
Function
viewportTransform
(arg: string | undefined)
src/tools/ToolDefinition.ts:421
↓ 4 callers
Method
#dataWithPagination
(data: T[], pagination?: PaginationOptions)
src/McpResponse.ts:1367
↓ 4 callers
Method
#startFrame
(startTime, seqId)
src/third_party/lighthouse-devtools-mcp-bundle.js:21370
↓ 4 callers
Method
#truncateJSStack
* When a call stack that differs from the one we are tracking has * been detected in the samples, the latter is "truncated" by * setting
src/third_party/lighthouse-devtools-mcp-bundle.js:18133
↓ 4 callers
Method
acquire
* This method finds an available connection to the origin specified by the network request or null * if no connection was available. If returne
src/third_party/lighthouse-devtools-mcp-bundle.js:13331
↓ 4 callers
Function
arrayRemove
(arr, item)
src/third_party/lighthouse-devtools-mcp-bundle.js:48882
↓ 4 callers
Function
assertDaemonIsRunning
(sessionId?: string)
tests/utils.ts:405
↓ 4 callers
Function
buildFlag
(category: ToolCategory)
src/ToolHandler.ts:22
↓ 4 callers
Function
closeFrameCallback
(_depth, _node, _sampleIndex, _timeStampMillis, durMs, selfTimeMs)
src/third_party/lighthouse-devtools-mcp-bundle.js:19998
↓ 4 callers
Method
createExtensionServiceWorkersSnapshot
* Creates a snapshot of the extension service workers.
src/McpContext.ts:587
↓ 4 callers
Method
createForTesting
( message: string, stackTrace?: DevTools.StackTrace.StackTrace.StackTrace, cause?: SymbolizedError
src/devtools/DevtoolsUtils.ts:448
↓ 4 callers
Function
createIdGenerator
()
src/utils/id.ts:7
↓ 4 callers
Method
createPagesSnapshot
()
src/McpContext.ts:625
↓ 4 callers
Function
different
(u, v)
src/third_party/lighthouse-devtools-mcp-bundle.js:52519
↓ 4 callers
Method
evaluateOnNewDocument
* Evaluate a function on every new frame from now on. * @template {unknown[]} T * @param {((...args: T) => void)} mainFn The main functi
src/third_party/lighthouse-devtools-mcp-bundle.js:39462
↓ 4 callers
Function
extractExtensionId
(response: McpResponse)
tests/utils.ts:58
↓ 4 callers
Function
finalize41
(partialModel)
src/third_party/lighthouse-devtools-mcp-bundle.js:27373
↓ 4 callers
Function
findSizeDeclaration
(rule, property)
src/third_party/lighthouse-devtools-mcp-bundle.js:37078
↓ 4 callers
Function
formatterTestConcise
( label: string, setup: (t: it.TestContext) => Promise<ConsoleFormatter>, )
tests/formatters/ConsoleFormatter.test.ts:36
↓ 4 callers
Method
fromString
(string)
src/third_party/lighthouse-devtools-mcp-bundle.js:29580
↓ 4 callers
Function
generateToolMetrics
(tools: ToolDefinition[])
src/telemetry/metricsRegistry.ts:93
↓ 4 callers
Method
getAXNodeByUid
(uid: string)
src/McpPage.ts:368
↓ 4 callers
Method
getDependents
()
src/third_party/lighthouse-devtools-mcp-bundle.js:11624
↓ 4 callers
Method
getDevToolsUniverse
(page: McpPage)
src/McpContext.ts:297
↓ 4 callers
Method
getFirstPaintBasedGraph
* Computes the graph required for the first paint of interest.
src/third_party/lighthouse-devtools-mcp-bundle.js:12624
↓ 4 callers
Function
getFormatted
(icuMessageOrRawString, locale)
src/third_party/lighthouse-devtools-mcp-bundle.js:9823
↓ 4 callers
Function
getNextEvent
(sourceEvents, targetEvent)
src/third_party/lighthouse-devtools-mcp-bundle.js:25742
↓ 4 callers
Function
getRuntimeFunctionName
(fn)
src/third_party/lighthouse-devtools-mcp-bundle.js:36176
↓ 4 callers
Method
groupByOrigin
(records)
src/third_party/lighthouse-devtools-mcp-bundle.js:11169
↓ 4 callers
Method
hasNext
()
src/third_party/lighthouse-devtools-mcp-bundle.js:38913
↓ 4 callers
Function
hasWhitespace
(value)
src/third_party/lighthouse-devtools-mcp-bundle.js:37492
↓ 4 callers
Function
initializeAndLaunchBrowser
(child: Server)
tests/shutdown.test.ts:113
↓ 4 callers
Method
isDataURL
()
src/third_party/lighthouse-devtools-mcp-bundle.js:29830
↓ 4 callers
Function
isIcuMessage
(icuMessageOrNot)
src/third_party/lighthouse-devtools-mcp-bundle.js:9800
↓ 4 callers
Function
isObjectOfUnknownProperties
(val)
src/third_party/lighthouse-devtools-mcp-bundle.js:35075
↓ 4 callers
Method
logDailyActiveIfNeeded
()
src/telemetry/ClearcutLogger.ts:152
↓ 4 callers
Method
logServerError
(args: { toolName?: string; errorCode: ErrorCode; })
src/telemetry/ClearcutLogger.ts:183
↓ 4 callers
Method
makeSourceLocation
* @param {string} url * @param {number} line 0-indexed * @param {number} column 0-indexed * @param {LH.Artifacts.Bundle=} bundle
src/third_party/lighthouse-devtools-mcp-bundle.js:4360
↓ 4 callers
Function
metricSavingsForWastedBytes
(wastedBytesByRequestId, context)
src/third_party/lighthouse-devtools-mcp-bundle.js:25173
↓ 4 callers
Function
mockListener
()
tests/utils.ts:316
↓ 4 callers
Function
number
(v)
src/third_party/lighthouse-devtools-mcp-bundle.js:52515
↓ 4 callers
Function
plural
(ms, msAbs, n, name)
src/third_party/lighthouse-devtools-mcp-bundle.js:244
↓ 4 callers
Function
pngWidth
* Reads the pixel width from a PNG buffer's IHDR chunk (bytes 16..19).
tests/tools/screenshot.test.ts:24
↓ 4 callers
Method
policyHasScriptHashes
(directive)
src/third_party/lighthouse-devtools-mcp-bundle.js:48748
↓ 4 callers
Method
policyHasScriptNonces
(directive)
src/third_party/lighthouse-devtools-mcp-bundle.js:48743
↓ 4 callers
Method
recordedTraces
()
src/McpContext.ts:824
↓ 4 callers
Method
release
(request)
src/third_party/lighthouse-devtools-mcp-bundle.js:13356
↓ 4 callers
Method
serializeDeps
* Serializes an array of functions or strings. * * Also makes sure that an esbuild-bundled version of Lighthouse will * continue
src/third_party/lighthouse-devtools-mcp-bundle.js:39515
↓ 4 callers
Method
setIncludeConsoleData
( value: boolean, options?: PaginationOptions & { types?: string[]; includePreservedMessag
src/tools/ToolDefinition.ts:142
↓ 4 callers
Method
setUpNetworkCollectorForTesting
* We need to ignore favicon request as they make our test flaky
src/McpContext.ts:859
↓ 4 callers
Function
sortTraceEventsInPlace
(events)
src/third_party/lighthouse-devtools-mcp-bundle.js:16990
↓ 4 callers
Function
spawnServer
()
tests/shutdown.test.ts:25
↓ 4 callers
Function
startDaemon
(mcpArgs: string[] = [], sessionId: string)
src/daemon/client.ts:70
↓ 4 callers
Method
storeTraceRecording
(result: TraceResult)
src/McpContext.ts:818
↓ 4 callers
Function
storeWarning
(event, warning)
src/third_party/lighthouse-devtools-mcp-bundle.js:23791
↓ 4 callers
Function
testIncludesWebmcpTools
( t: it.TestContext, parseArguments: Partial<ParsedArguments>, handlerAction: ( response: Mc
tests/McpResponse.test.ts:1463
↓ 4 callers
Function
throwIfEmpty
(name)
src/third_party/lighthouse-devtools-mcp-bundle.js:625
↓ 4 callers
Function
traceWindowFromEvent
(event)
src/third_party/lighthouse-devtools-mcp-bundle.js:16756
↓ 4 callers
Function
traceWindowFromTime
(time)
src/third_party/lighthouse-devtools-mcp-bundle.js:22731
↓ 4 callers
Function
transformArgName
(zodType: ZodType, name: string)
src/telemetry/transformation.ts:62
↓ 4 callers
Method
triggerExtensionAction
(id: string)
src/McpContext.ts:883
↓ 4 callers
Function
validateEnumHomogeneity
(values: unknown[])
src/telemetry/metricsRegistry.ts:21
↓ 4 callers
Function
waitForExit
( child: Server, timeoutMs: number, )
tests/shutdown.test.ts:50
↓ 4 callers
Function
withBrowser
( cb: (browser: Browser, page: Page) => Promise<void>, options: { debug?: boolean; autoOpenDevTool
tests/utils.ts:70
↓ 3 callers
Method
#extractStackTrace
* Update tracked stack using this event's call stack.
src/third_party/lighthouse-devtools-mcp-bundle.js:18090
↓ 3 callers
Method
#getAllPages
()
src/McpContext.ts:670
↓ 3 callers
Method
#getTitle
()
src/formatters/IssueFormatter.ts:155
↓ 3 callers
Method
#makeProfileCallsForStack
* Given a synthetic profile call, returns an array of profile calls * representing the stack trace that profile call belongs to based on
src/third_party/lighthouse-devtools-mcp-bundle.js:18055
↓ 3 callers
Method
#scheduleFlush
(delayMs: number)
src/telemetry/watchdog/ClearcutSender.ts:170
↓ 3 callers
Method
_findIndexOf
* @param {*} key * @return {number}
src/third_party/lighthouse-devtools-mcp-bundle.js:31494
↓ 3 callers
Method
_getDataSavePath
* Get path to use for -G and -A modes. Defaults to $CWD/latest-run * @param {LH.Config.Settings} settings * @return {string}
src/third_party/lighthouse-devtools-mcp-bundle.js:59017
↓ 3 callers
Function
_isAlpha
(codepoint)
src/third_party/lighthouse-devtools-mcp-bundle.js:8997
↓ 3 callers
Method
_isIdlePeriod
* Returns whether the number of currently inflight requests is less than or * equal to the number of allowed concurrent requests. * @param {numb
src/third_party/lighthouse-devtools-mcp-bundle.js:59613
↓ 3 callers
Method
_updateResponseHeadersEndTimeIfNecessary
* Update responseHeadersEndTime to the networkEndTime if networkEndTime is earlier. * A response can't be received after the entire request fin
src/third_party/lighthouse-devtools-mcp-bundle.js:33063
↓ 3 callers
Function
addFlowIdToEventBinding
(event, flowId)
src/third_party/lighthouse-devtools-mcp-bundle.js:18472
↓ 3 callers
Function
addInvalidationToEvent
(frameState, event, invalidation)
src/third_party/lighthouse-devtools-mcp-bundle.js:21984
↓ 3 callers
Function
adopt
(value)
src/third_party/lighthouse-devtools-mcp-bundle.js:4703
↓ 3 callers
Function
applyToExisting
(existing: T[], update: T[])
src/telemetry/metricsRegistry.ts:66
↓ 3 callers
Function
assemble
(fn, context, strategy, cache, serialize)
src/third_party/lighthouse-devtools-mcp-bundle.js:9120
↓ 3 callers
Function
assertNever
(_type, message)
src/third_party/lighthouse-devtools-mcp-bundle.js:16516
↓ 3 callers
Method
attachTraceInsight
( trace: TraceResult, insightSetId: string, insightName: InsightName, )
src/tools/ToolDefinition.ts:161
↓ 3 callers
Method
audit
* Base class for audit rules which reflect assessment performed by the aXe accessibility library * See https://github.com/dequelabs/axe-core/bl
src/third_party/lighthouse-devtools-mcp-bundle.js:39801
↓ 3 callers
Function
bundleDependency
( wrapperIndexName, extraOutputOptions = {}, external = [], )
rollup.config.mjs:129
↓ 3 callers
Method
canDependOn
(node)
src/third_party/lighthouse-devtools-mcp-bundle.js:11822
↓ 3 callers
Function
check
()
src/daemon/client.ts:31
← previous
next →
201–300 of 3,308, ranked by callers