Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChromeDevTools/chrome-devtools-mcp
/ functions
Functions
1,397 in github.com/ChromeDevTools/chrome-devtools-mcp
⨍
Functions
1,397
◇
Types & classes
306
↓ 2 callers
Function
applyToExisting
(existing: T[], update: T[])
src/telemetry/metricsRegistry.ts:67
↓ 2 callers
Function
applyToExistingMetrics
( existing: ToolMetric[], update: ToolMetric[], )
src/telemetry/metricsRegistry.ts:44
↓ 2 callers
Function
arrayLength
(preview: Protocol.Runtime.ObjectPreview)
src/formatters/RemoteObjectFormatter.ts:110
↓ 2 callers
Method
asPage
()
tests/mocks.ts:360
↓ 2 callers
Function
assertAllowedLicense
(license: string, source: string)
scripts/generate-third-party-notices.ts:88
↓ 2 callers
Function
assertDaemonIsNotRunning
( sessionId?: string, )
tests/utils.ts:496
↓ 2 callers
Method
attachConsoleMessage
(msgid: number)
src/tools/ToolDefinition.ts:318
↓ 2 callers
Method
attachImage
(value: ImageContentData)
src/tools/ToolDefinition.ts:313
↓ 2 callers
Method
attachLighthouseResult
(result: LighthouseData)
src/tools/ToolDefinition.ts:332
↓ 2 callers
Method
attachTraceInsight
( trace: TraceResult, insightSetId: string, insightName: InsightName, )
src/tools/ToolDefinition.ts:326
↓ 2 callers
Method
attachTraceSummary
(trace: TraceResult)
src/tools/ToolDefinition.ts:325
↓ 2 callers
Function
bucketizeLatency
(latencyMs: number)
src/telemetry/transformation.ts:15
↓ 2 callers
Method
buildCliParser
( options: Record<string, YargsOptions> = mcpOptions, )
src/config/ConfigParser.ts:56
↓ 2 callers
Function
buildCommand
( commandName: string, args: Record<string, ArgDef>, )
src/config/cli-commands.ts:17
↓ 2 callers
Function
buildContext
( devToolsData?: DevToolsData, pageUrl?: string, )
src/telemetry/transformation.ts:277
↓ 2 callers
Function
byteSizeRangeSchema
( description: string, )
src/utils/bytes.ts:119
↓ 2 callers
Function
calculateDaysSince
( lastDateString?: string, now: Date = new Date(), )
src/telemetry/ClearcutLogger.ts:64
↓ 2 callers
Method
clearNetworkConditions
()
src/McpPage.ts:1578
↓ 2 callers
Method
close
* Closes the MCP connection and disposes internal context/listeners.
src/index.ts:294
↓ 2 callers
Method
close
* Shutdown hook for the active browser. Closes a launched browser (so the * Chrome subprocess is reaped) or disconnects from an attached browser (s
src/BrowserManager.ts:571
↓ 2 callers
Method
closePage
(pageId: number)
src/McpContext.ts:610
↓ 2 callers
Function
collectRankedContexts
( analysis: DevTools.HeapSnapshotModel.HeapSnapshotModel.ContextAnalysisResult, options: ContextFilterOpti
src/formatters/HeapSnapshotFormatter.ts:72
↓ 2 callers
Method
collectRules
* Aggregates all cascading rules impacting the target node.
src/formatters/CssFormatter.ts:689
↓ 2 callers
Method
configureWebAuthn
( config: WebAuthnAuthenticatorConfig, )
src/McpPage.ts:481
↓ 2 callers
Method
connect
(url: string)
scripts/profile/inspector.ts:41
↓ 2 callers
Function
connectClient
(server: McpServer)
tests/McpServer.test.ts:77
↓ 2 callers
Method
consumeReconnectNotice
* Returns true once after the browser connection was re-established with a * new browser, so the next response can surface a note. Cleared on first
src/McpContext.ts:742
↓ 2 callers
Function
convertConsoleMessageConciseToString
( msg: ConsoleMessageConcise, )
src/formatters/ConsoleFormatter.ts:357
↓ 2 callers
Function
convertNetworkRequestConciseToString
( data: NetworkRequestConcise, )
src/formatters/NetworkFormatter.ts:321
↓ 2 callers
Function
copyOption
( target: Partial<ParsedArguments>, source: Partial<ParsedArguments>, key: K, )
src/config/ServerConfig.ts:27
↓ 2 callers
Function
createBrowser
()
tests/McpContext.test.ts:827
↓ 2 callers
Function
createConfigParser
(argv: string[] = [])
tests/McpServer.test.ts:38
↓ 2 callers
Method
createForTesting
( message: string, stackTrace?: DevTools.StackTrace.StackTrace.StackTrace, cause?: SymbolizedError
src/devtools/DevtoolsUtils.ts:480
↓ 2 callers
Function
createLazyContext
(getBrowser: () => Promise<Browser>)
tests/McpContext.test.ts:811
↓ 2 callers
Function
createMockClassDiffTotals
( options: Partial<HeapSnapshotClassDiffTotals> = {}, )
tests/mocks.ts:1188
↓ 2 callers
Function
createMockDOMNode
( options: MockDOMNodeOptions = {}, )
tests/mocks.ts:635
↓ 2 callers
Function
createMockDetailedClassDiff
( options: Partial<HeapSnapshotDetailedClassDiff> = {}, )
tests/mocks.ts:1220
↓ 2 callers
Function
createMockDiffObject
( options: Partial<HeapSnapshotDiffObject> = {}, )
tests/mocks.ts:1210
↓ 2 callers
Function
createMockHeapSnapshotDiff
( options: Partial<HeapSnapshotDiff> = {}, )
tests/mocks.ts:1201
↓ 2 callers
Function
createMockHeapSnapshotNode
( options: Partial<DevTools.HeapSnapshotModel.HeapSnapshotModel.Node> = {}, )
tests/mocks.ts:1373
↓ 2 callers
Function
createMockHeapSnapshotStaticData
()
tests/mocks.ts:1113
↓ 2 callers
Function
createMockHeapSnapshotStats
()
tests/mocks.ts:1099
↓ 2 callers
Function
createMockMcpResponse
()
tests/mocks.ts:582
↓ 2 callers
Function
createMockMcpWorker
( options: { id?: string; type?: WorkerType; url?: string; worker?: WebWorker; } = {}, )
tests/mocks.ts:501
↓ 2 callers
Function
createMockObjectInfo
()
tests/mocks.ts:1233
↓ 2 callers
Function
createMockRunnerResult
( lhrOverrides: Partial<Result> = {}, )
tests/mocks.ts:604
↓ 2 callers
Function
createMockTarget
()
tests/mocks.ts:482
↓ 2 callers
Function
createStackTrace
( devTools: TargetUniverse, rawStackTrace: StackTraceLike, targetId: string | undefined, )
src/devtools/DevtoolsUtils.ts:504
↓ 2 callers
Function
createTargetUniverse
( session: CDPSession, options?: CreateTargetUniverseOptions, )
src/devtools/DevtoolsUtils.ts:144
↓ 2 callers
Function
debugLog
(...args: unknown[])
scripts/eval_gemini.ts:50
↓ 2 callers
Function
delay
(ms: number)
src/daemon/client.ts:38
↓ 2 callers
Method
detectDisplay
()
src/BrowserManager.ts:67
↓ 2 callers
Method
disposeSnapshot
(filePath: string)
src/processors/HeapSnapshotManager.ts:548
↓ 2 callers
Function
enoent
(filePath: string)
tests/roots.test.ts:158
↓ 2 callers
Method
executeThirdPartyDeveloperTool
( toolName: string, params: Record<string, unknown>, response: Response, )
src/McpPage.ts:976
↓ 2 callers
Function
extractExtensionId
(origin: string)
src/collectors/ServiceWorkerCollector.ts:211
↓ 2 callers
Function
extractExtensionId
(response: McpResponse)
tests/utils.ts:79
↓ 2 callers
Function
fetchFromPage
* Fetches `url` from the selected page and returns the outcome. The timeout * is generous on purpose: a blocked request fails synchronously in the *
tests/network_blocking.test.ts:106
↓ 2 callers
Method
formatAggregates
( aggregates: readonly HeapSnapshotAggregate[], options: HeapSnapshotFormatOptions, )
src/formatters/HeapSnapshotFormatter.ts:252
↓ 2 callers
Function
formatArg
(arg: unknown, formatter: {isIgnored: IgnoreCheck})
src/formatters/ConsoleFormatter.ts:400
↓ 2 callers
Function
formatBytes
(bytes: number)
scripts/profile/utils.ts:13
↓ 2 callers
Function
formatCommentThread
(thread: StructuredCommentThread)
src/formatters/CommentFormatter.ts:21
↓ 2 callers
Method
formatContextAnalysis
( report: ContextAnalysisReport, options: HeapSnapshotFormatOptions, )
src/formatters/HeapSnapshotFormatter.ts:328
↓ 2 callers
Method
formatDetailedClassDiffHeader
( diff: HeapSnapshotClassDiff, options: HeapSnapshotFormatOptions, )
src/formatters/HeapSnapshotFormatter.ts:290
↓ 2 callers
Method
formatDetailedClassDiffObjects
( objects: readonly HeapSnapshotDiffObject[], )
src/formatters/HeapSnapshotFormatter.ts:297
↓ 2 callers
Function
formatDiffCounts
(counts: HeapSnapshotClassDiffTotals)
src/formatters/HeapSnapshotFormatter.ts:408
↓ 2 callers
Method
formatDiffSummary
( diffs: readonly HeapSnapshotClassDiff[], options: HeapSnapshotFormatOptions, )
src/formatters/HeapSnapshotFormatter.ts:268
↓ 2 callers
Method
formatDominators
( dominators: DevTools.HeapSnapshotModel.HeapSnapshotModel.DominatorChain, options: HeapSnapshotFormat
src/formatters/HeapSnapshotFormatter.ts:185
↓ 2 callers
Method
formatDuplicateStrings
( groups: readonly DuplicateStringGroup[], options: HeapSnapshotFormatOptions, )
src/formatters/HeapSnapshotFormatter.ts:199
↓ 2 callers
Function
formatEnumChoice
* For enums, log the value as uppercase. * We're going to have an enum for such flags with choices represented * as an `enum` where the keys of the
src/telemetry/flagUtils.ts:22
↓ 2 callers
Function
formatFragment
( fragment: DevTools.DevTools.StackTrace.StackTrace.Fragment, formatter: {isIgnored: IgnoreCheck}, )
src/formatters/ConsoleFormatter.ts:455
↓ 2 callers
Method
formatNativeContextSizes
( sizes: DevTools.HeapSnapshotModel.HeapSnapshotModel.NativeContextSizes, options: HeapSnapshotFormatO
src/formatters/HeapSnapshotFormatter.ts:216
↓ 2 callers
Method
formatNodes
( items: ReadonlyArray< | DevTools.HeapSnapshotModel.HeapSnapshotModel.Node | DevTools.HeapSna
src/formatters/HeapSnapshotFormatter.ts:126
↓ 2 callers
Method
formatObjectInfo
( info: DevTools.HeapSnapshotModel.HeapSnapshotModel.ObjectInfo, options: HeapSnapshotFormatOptions,
src/formatters/HeapSnapshotFormatter.ts:310
↓ 2 callers
Function
formatPropertyLine
* Formats a CSS property into standard CSS syntax with optional status tags. * * Status prefix convention: * - 'active': Clean output without tags
src/formatters/CssFormatter.ts:464
↓ 2 callers
Function
formatRemoteObject
( remoteObject: Protocol.Runtime.RemoteObject, )
src/formatters/RemoteObjectFormatter.ts:252
↓ 2 callers
Method
formatRetainedByContextSummary
( summary: DevTools.HeapSnapshotModel.HeapSnapshotModel.RetainedByContextSummary, )
src/formatters/HeapSnapshotFormatter.ts:237
↓ 2 callers
Method
formatRetainingPaths
( retainingPaths: readonly DevTools.HeapSnapshotModel.HeapSnapshotModel.RetainingEdge[], options: Heap
src/formatters/HeapSnapshotFormatter.ts:159
↓ 2 callers
Function
formatStackTraceInner
( stackTrace: DevTools.DevTools.StackTrace.StackTrace.StackTrace | undefined, cause: SymbolizedError | und
src/formatters/ConsoleFormatter.ts:437
↓ 2 callers
Method
fromDetails
(opts: { details: ExceptionDetailsLike; targetId: string; devTools?: TargetUniverse; // The se
src/devtools/DevtoolsUtils.ts:261
↓ 2 callers
Method
fromError
(opts: { error: RemoteObjectLike; targetId: string; devTools?: TargetUniverse; session?: CDPSe
src/devtools/DevtoolsUtils.ts:334
↓ 2 callers
Function
generateToolMetrics
(tools: ToolDefinition[])
src/telemetry/metricsRegistry.ts:96
↓ 2 callers
Function
getCascadeRuleHeader
(rule: CascadeRule)
src/formatters/CssFormatter.ts:522
↓ 2 callers
Function
getCategoryOptions
()
src/config/category-options.ts:159
↓ 2 callers
Function
getCliOptions
()
src/config/mcp-options.ts:345
↓ 2 callers
Function
getCommandArgSpec
( args: Record<string, ArgDef>, globalOptions: ReadonlyMap<string, OptionKind> = GLOBAL_CLI_OPTIONS, )
src/config/cli-commands.ts:65
↓ 2 callers
Method
getComments
(devtoolsPage: Page)
src/devtools/DevToolsCommentBridge.ts:111
↓ 2 callers
Method
getConsoleMessageStableId
( message: ConsoleMessage | Error | DevTools.AggregatedIssue | UncaughtError, )
src/McpResponse.ts:856
↓ 2 callers
Method
getDominatorsOf
( filePath: string, nodeId: number, )
src/processors/HeapSnapshotManager.ts:356
↓ 2 callers
Method
getDuplicateStrings
(filePath: string)
src/processors/HeapSnapshotManager.ts:528
↓ 2 callers
Method
getEdges
( filePath: string, nodeId: number, options?: HeapEdgesQueryOptions, )
src/processors/HeapSnapshotManager.ts:369
↓ 2 callers
Function
getEnumValues
(zodType: unknown)
src/telemetry/transformation.ts:117
↓ 2 callers
Method
getExtension
(id: string)
src/McpContext.ts:1105
↓ 2 callers
Function
getFilterableResourceType
(request: HTTPRequest)
src/utils/resourceType.ts:15
↓ 2 callers
Function
getFirstText
( result: Awaited<ReturnType<Client['callTool']>>, )
tests/index.test.ts:379
↓ 2 callers
Function
getGnBinaryPath
()
scripts/gn-gen.ts:15
↓ 2 callers
Method
getHeapSnapshotStats
( filePath: string, )
src/McpContext.ts:1135
↓ 2 callers
Method
getIdForResource
(resource: WithSymbolId<T>)
src/collectors/PageCollector.ts:193
↓ 2 callers
Function
getInheritableProperties
* Filters properties to only those that can be inherited from an ancestor element. * * For highlight pseudo-elements, custom properties (`--*`) are
src/formatters/CssFormatter.ts:481
↓ 2 callers
Function
getMockResponse
( options: { status?: number; headers?: Record<string, string>; } = {}, )
tests/utils.ts:339
← previous
next →
301–400 of 1,397, ranked by callers