Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChromeDevTools/chrome-devtools-mcp
/ functions
Functions
1,581 in github.com/ChromeDevTools/chrome-devtools-mcp
⨍
Functions
1,581
◇
Types & classes
341
↓ 1 callers
Function
discoverScenarios
( scenariosDir: string, scenarioFilter?: string, )
scripts/profile/profile_mcp.ts:50
↓ 1 callers
Method
dispose
()
src/devtools/DevToolsCommentBridge.ts:167
↓ 1 callers
Function
drainReporter
( events: TestEvent[], sink: ResultSinkAdapter, )
tests/resultsink-reporter.test.ts:65
↓ 1 callers
Function
drainSpec
()
tests/resultsink-reporter.ts:95
↓ 1 callers
Function
emitException
( pptrPage: MockPuppeteerPage, handle?: ReturnType<typeof createMockCdpJSHandle>, )
tests/collectors/PageCollector.test.ts:728
↓ 1 callers
Function
encodeMappings
()
tests/LogpointManager.test.ts:213
↓ 1 callers
Function
ensureSubmodule
()
scripts/prepare.ts:63
↓ 1 callers
Function
errorResult
(text: string)
src/ToolHandler.ts:242
↓ 1 callers
Function
escapeHtml
(unsafe: string)
tests/resultsink-reporter.ts:26
↓ 1 callers
Function
escapeHtmlTags
(text: string)
scripts/generate-docs.ts:54
↓ 1 callers
Function
evaluateWithTimeout
( page: McpPage, expression: string, )
tests/LogpointManager.test.ts:279
↓ 1 callers
Function
exceptionDetails
( overrides: Partial<Protocol.Runtime.ExceptionDetails> = {}, )
tests/devtools/DevtoolsUtils.test.ts:199
↓ 1 callers
Function
exit
(code: number)
src/telemetry/watchdog/main.ts:105
↓ 1 callers
Function
extractErrorInfo
(error: unknown)
tests/resultsink-reporter.ts:35
↓ 1 callers
Function
extractExtensionId
(origin: string)
src/collectors/ServiceWorkerCollector.ts:235
↓ 1 callers
Function
extractStringArray
(value: unknown)
tests/run-tests.ts:428
↓ 1 callers
Function
extractTransientConnectCode
* Returns the transient leaf code of a connect error, or undefined if the * error is permanent or unrecognized. Follows `cause` to the root, unwraps
src/BrowserManager.ts:50
↓ 1 callers
Function
fetchBody
()
tests/network_overrides.test.ts:264
↓ 1 callers
Function
fillFormElements
* Fills one or more form elements and waits for resulting page events in a * single `waitForEventsAfterAction` call. * If an element opens a JavaScr
src/tools/input.ts:336
↓ 1 callers
Function
filterExplicitArgs
( args: Partial<ParsedArguments>, baseOptions: McpOptions, )
src/config/ServerConfig.ts:39
↓ 1 callers
Method
find
( extensionId: string, filter: (item: WithSymbolId<T>) => boolean, )
src/collectors/ServiceWorkerCollector.ts:133
↓ 1 callers
Function
findCommandIndex
(argv: readonly string[])
src/config/cli-commands.ts:180
↓ 1 callers
Function
findImportPath
* Walks the static and dynamic relative imports of the built JS files and * returns the first path from `entry` to `target`, or undefined.
tests/cli-imports.test.ts:24
↓ 1 callers
Function
findLicenseFile
(directory: string)
scripts/generate-third-party-notices.ts:179
↓ 1 callers
Function
findOnPath
( command: string, env: NodeJS.ProcessEnv, )
scripts/gclient-sync.ts:46
↓ 1 callers
Method
finish
(element: Element)
src/McpPage.ts:1670
↓ 1 callers
Function
finishActivity
()
tests/utils/IdleTimer.test.ts:69
↓ 1 callers
Function
finishLongActivity
()
tests/utils/IdleTimer.test.ts:92
↓ 1 callers
Function
flushBatch
()
src/processors/ChunkedTraceParser.ts:219
↓ 1 callers
Function
formatAncestorRuleHeader
(ancestor: AncestorCSSRule)
src/formatters/CssFormatter.ts:565
↓ 1 callers
Function
formatArgs
(msg: ConsoleMessageDetailed)
src/formatters/ConsoleFormatter.ts:434
↓ 1 callers
Function
formatArrayItems
(preview: Protocol.Runtime.ObjectPreview)
src/formatters/RemoteObjectFormatter.ts:115
↓ 1 callers
Function
formatAsyncFragment
( fragment: FormattableAsyncFragment, formatter: {isIgnored: IgnoreCheck}, )
src/formatters/ConsoleFormatter.ts:513
↓ 1 callers
Function
formatAuthenticator
( authenticator: WebAuthnAuthenticatorState, )
src/formatters/WebAuthnFormatter.ts:9
↓ 1 callers
Function
formatCause
( cause: SymbolizedError | undefined, formatter: {isIgnored: IgnoreCheck}, )
src/formatters/ConsoleFormatter.ts:545
↓ 1 callers
Function
formatComments
(threads: readonly StructuredCommentThread[])
src/formatters/CommentFormatter.ts:39
↓ 1 callers
Function
formatCount
(count: number, singular: string)
src/formatters/HeapSnapshotFormatter.ts:392
↓ 1 callers
Function
formatDOMLinkState
( state: DevTools.HeapSnapshotModel.HeapSnapshotModel.DOMLinkState, )
src/formatters/HeapSnapshotFormatter.ts:408
↓ 1 callers
Method
formatDiffTotals
(totals: HeapSnapshotClassDiffTotals)
src/formatters/HeapSnapshotFormatter.ts:309
↓ 1 callers
Function
formatEntryItems
(preview: Protocol.Runtime.ObjectPreview)
src/formatters/RemoteObjectFormatter.ts:200
↓ 1 callers
Function
formatHeaders
(headers: Record<string, string>)
src/formatters/NetworkFormatter.ts:330
↓ 1 callers
Function
formatLocation
( url: string, lineNumber: number, columnNumber?: number, )
src/formatters/LogpointFormatter.ts:18
↓ 1 callers
Function
formatLogpoint
(logpoint: StructuredLogpoint)
src/formatters/LogpointFormatter.ts:26
↓ 1 callers
Function
formatLogpoints
(logpoints: readonly StructuredLogpoint[])
src/formatters/LogpointFormatter.ts:51
↓ 1 callers
Function
formatNotice
(notice: Notice)
scripts/generate-third-party-notices.ts:104
↓ 1 callers
Function
formatObjectItems
(preview: Protocol.Runtime.ObjectPreview)
src/formatters/RemoteObjectFormatter.ts:162
↓ 1 callers
Function
formatObjectPreview
* Formats a `Runtime.ObjectPreview` the way the DevTools console previews it, * for example `Map(1) {1 => 2}`, `(3) [1, 2, 3]` or `{a: 1, self: {…}}`
src/formatters/RemoteObjectFormatter.ts:217
↓ 1 callers
Function
formatPage
( mcpPage: McpPage, context: McpContext, targetInfo: Protocol.Target.TargetInfo | undefined, )
src/McpResponse.ts:2024
↓ 1 callers
Function
formatScopeName
( scope: DevTools.HeapSnapshotModel.HeapSnapshotModel.ScopeAnalysis, options: HeapSnapshotFormatOptions, )
src/formatters/HeapSnapshotFormatter.ts:396
↓ 1 callers
Function
formatSignedCount
(n: number)
src/formatters/HeapSnapshotFormatter.ts:422
↓ 1 callers
Function
formatSignedSize
(bytes: number)
src/formatters/HeapSnapshotFormatter.ts:426
↓ 1 callers
Method
formatThread
(thread: StructuredCommentThread)
src/formatters/CommentFormatter.ts:95
↓ 1 callers
Function
formatValidationError
(toolName: string, error: zod.ZodError)
src/ToolHandler.ts:232
↓ 1 callers
Function
formatWebAuthnLabel
(mcpPage: McpPage)
src/McpResponse.ts:2044
↓ 1 callers
Function
formatterTest
(label: string, setup: () => WebAuthnFormatter)
tests/formatters/WebAuthnFormatter.test.ts:13
↓ 1 callers
Function
formatterTest
( label: string, setup: (t: it.TestContext) => CommentFormatter | Promise<CommentFormatter>, )
tests/formatters/CommentFormatter.test.ts:18
↓ 1 callers
Function
formatterTest
(label: string, logpoints: Logpoint[])
tests/formatters/LogpointFormatter.test.ts:13
↓ 1 callers
Function
formatterTest
( label: string, setup: (t: it.TestContext) => CssFormatter | Promise<CssFormatter>, )
tests/formatters/CssFormatter.test.ts:30
↓ 1 callers
Function
formatterTestConcise
( label: string, setup: (t: it.TestContext) => Promise<IssueFormatter>, )
tests/formatters/IssueFormatter.test.ts:23
↓ 1 callers
Function
formatterTestConcise
( label: string, setup: (t: it.TestContext) => Promise<ConsoleFormatter>, )
tests/formatters/ConsoleFormatter.test.ts:44
↓ 1 callers
Function
formatterTestDetailed
( label: string, setup: (t: it.TestContext) => Promise<IssueFormatter>, )
tests/formatters/IssueFormatter.test.ts:37
↓ 1 callers
Function
formatterTestDetailed
( label: string, setup: (t: it.TestContext) => Promise<ConsoleFormatter>, )
tests/formatters/ConsoleFormatter.test.ts:58
↓ 1 callers
Function
gap
(count: number)
src/formatters/RemoteObjectFormatter.ts:130
↓ 1 callers
Function
generateCli
()
scripts/generate-cli.ts:81
↓ 1 callers
Function
generateConfigOptionsMarkdown
()
scripts/generate-docs.ts:115
↓ 1 callers
Function
generateReference
( title: string, outputPath: string, toolsWithAnnotations: ToolWithAnnotations[], categories: Record<s
scripts/generate-docs.ts:192
↓ 1 callers
Function
generateTempFilePath
()
src/tools/screencast.ts:23
↓ 1 callers
Function
generateToolDocumentation
()
scripts/generate-docs.ts:411
↓ 1 callers
Function
geolocationTransform
( arg: string | undefined, )
src/tools/ToolDefinition.ts:836
↓ 1 callers
Function
getArgsDataUrl
( event: DevTools.TraceEngine.Types.Events.Event | undefined, )
tests/trace-processing/ChunkedTraceParser.test.ts:15
↓ 1 callers
Function
getBrowserOptions
()
src/config/browser-options.ts:162
↓ 1 callers
Function
getCalleeName
(callee)
scripts/eslint_rules/enforce-using-rule.js:10
↓ 1 callers
Function
getCategoryOptionsForViaCli
()
src/config/category-options.ts:168
↓ 1 callers
Function
getCommandResponseTimeout
(command: DaemonMessage)
src/daemon/client.ts:194
↓ 1 callers
Method
getConsoleMessageById
( id: number, )
src/McpPage.ts:854
↓ 1 callers
Function
getDataFolder
()
src/telemetry/persistence.ts:37
↓ 1 callers
Function
getDevToolsCommit
()
scripts/generate-third-party-notices.ts:258
↓ 1 callers
Function
getDisabledReason
( tool: AnyToolDefinition, serverArgs: ParsedArguments, )
src/ToolHandler.ts:96
↓ 1 callers
Function
getEnclosingHook
(node)
scripts/eslint_rules/no-sinon-restore-in-hooks-rule.js:21
↓ 1 callers
Function
getFailedAudits
(lhr: Result)
src/tools/lighthouse.ts:134
↓ 1 callers
Function
getFilenameFromUrl
(sheetUrl: string)
src/formatters/CssFormatter.ts:246
↓ 1 callers
Method
getGlobalConfigPath
( env: NodeJS.ProcessEnv = process.env, platform: NodeJS.Platform = process.platform, homedir: str
src/config/ConfigLocator.ts:53
↓ 1 callers
Method
getGlobalConfigPath
( env = this.#env, platform = this.#platform, homedir = HOME, )
tests/config/ConfigLocator.test.ts:41
↓ 1 callers
Method
getHeapSnapshotAggregates
( filePath: string, filterName?: string, objectId?: number, )
src/McpContext.ts:1181
↓ 1 callers
Method
getHeapSnapshotClassDiffs
( baseFilePath: string, currentFilePath: string, )
src/McpContext.ts:1335
↓ 1 callers
Method
getHeapSnapshotDetailedClassDiff
( baseFilePath: string, currentFilePath: string, classIndex: number, )
src/McpContext.ts:1345
↓ 1 callers
Method
getHeapSnapshotDominators
( filePath: string, nodeId: number, )
src/McpContext.ts:1286
↓ 1 callers
Method
getHeapSnapshotDuplicateStrings
( filePath: string, )
src/McpContext.ts:1193
↓ 1 callers
Method
getHeapSnapshotEdges
( filePath: string, nodeId: number, options?: HeapEdgesQueryOptions, )
src/McpContext.ts:1327
↓ 1 callers
Method
getHeapSnapshotNativeContextSizes
( filePath: string, )
src/McpContext.ts:1218
↓ 1 callers
Method
getHeapSnapshotNodesById
( filePath: string, id: number, filterName?: string, objectId?: number, )
src/McpContext.ts:1232
↓ 1 callers
Method
getHeapSnapshotObjectDetails
( filePath: string, nodeId: number, )
src/McpContext.ts:1253
↓ 1 callers
Method
getHeapSnapshotRetainedByContextSummary
( filePath: string, )
src/McpContext.ts:1224
↓ 1 callers
Method
getHeapSnapshotRetainers
( filePath: string, nodeId: number, )
src/McpContext.ts:1246
↓ 1 callers
Method
getHeapSnapshotRetainingPaths
( filePath: string, nodeId: number, maxDepth?: number, maxNodes?: number, maxSiblings?: nu
src/McpContext.ts:1270
↓ 1 callers
Method
getHeapSnapshotStaticData
( filePath: string, )
src/McpContext.ts:1212
↓ 1 callers
Method
getHeapUsage
()
scripts/profile/inspector.ts:101
↓ 1 callers
Function
getHelp
( argv: string[], options?: { env?: NodeJS.ProcessEnv; cwd?: string; cwdEr
tests/cli.test.ts:1040
↓ 1 callers
Function
getImageContent
(content: CallToolResult['content'][number])
tests/utils.ts:74
↓ 1 callers
Function
getInsightOutput
( result: TraceResult, insightSetId: string, insightName: InsightName, deviceScope?: DevTools.CrUXMana
src/processors/PerformanceTrace.ts:156
← previous
next →
801–900 of 1,581, ranked by callers