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
↓ 1 callers
Function
createMockMessage
( data: Partial<MockConsoleMessage> = {}, )
tests/formatters/ConsoleFormatter.test.ts:32
↓ 1 callers
Function
createMockNativeContextSizes
()
tests/mocks.ts:1122
↓ 1 callers
Function
createMockRetainedByContextSummary
()
tests/mocks.ts:1130
↓ 1 callers
Function
createMockRetainingPaths
()
tests/mocks.ts:1158
↓ 1 callers
Function
createMockTargetUniverse
( model: NonNullable<ReturnType<DevTools.Target['model']>>, )
tests/mocks.ts:570
↓ 1 callers
Function
createMockWebAuthnModel
()
tests/mocks.ts:548
↓ 1 callers
Function
createMockWebWorker
()
tests/mocks.ts:497
↓ 1 callers
Function
createNetworkPolicyContext
(options: { allowlist?: string[]; blocklist?: string[]; })
tests/McpContext.test.ts:1420
↓ 1 callers
Function
createNewPageAndTriggerDialog
(client: Client)
tests/index.test.ts:390
↓ 1 callers
Function
createNode
( id: string, role: string, name: string, children: TextSnapshotNode[] = [], )
tests/formatters/snapshotFormatter.test.ts:17
↓ 1 callers
Function
createOption
(category: ToolCategory)
src/config/category-options.ts:137
↓ 1 callers
Function
createPage
()
tests/McpPage.test.ts:574
↓ 1 callers
Function
createPageTarget
()
tests/McpContext.test.ts:99
↓ 1 callers
Function
createPageTool
( name: string, handler: () => Promise<void>, options: { concurrency?: DefinedPageTo
tests/ToolHandler.test.ts:762
↓ 1 callers
Function
createPages
(ids: number[])
tests/ToolHandler.test.ts:804
↓ 1 callers
Function
createParser
(configPath: string, argv: string[] = [])
tests/config/mcp-options.test.ts:167
↓ 1 callers
Function
createQueryAncestor
( type: 'media' | 'scope' | 'supports' | 'navigation', query?: {text?: string}, )
src/formatters/CssFormatter.ts:327
↓ 1 callers
Function
createScreencastMocks
()
tests/tools/screencast.test.ts:37
↓ 1 callers
Function
createSnapshotWithNodes
( nodes: Array<{id: string; backendNodeId?: number}>, verbose = false, )
tests/McpPage.test.ts:1731
↓ 1 callers
Function
createSnapshotWithNodes
( nodes: Array<{id: string; backendNodeId?: number}>, verbose = false, )
tests/McpResponse.test.ts:2021
↓ 1 callers
Function
createStackTraceForConsoleMessage
( devTools: TargetUniverse, consoleMessage: ConsoleMessage, )
src/devtools/DevtoolsUtils.ts:489
↓ 1 callers
Function
createStructuredPage
( mcpPage: McpPage, context: McpContext, rawTitle: string, )
src/McpResponse.ts:1923
↓ 1 callers
Function
createSymlinkOrSkip
( t: it.TestContext, target: string, symlinkPath: string, type?: 'dir' | 'file' | 'junction', )
tests/utils/files.test.ts:16
↓ 1 callers
Function
createTree
()
tests/utils/TaskRunner.test.ts:42
↓ 1 callers
Method
createWaitForHelper
( cpuMultiplier: number, networkMultiplier: number, )
src/McpPage.ts:899
↓ 1 callers
Function
createWebAuthnPage
()
tests/McpPage.test.ts:2410
↓ 1 callers
Function
cruxResponseFixture
(url = 'https://web.dev/', lcp = 2595)
tests/tools/performance.test.ts:662
↓ 1 callers
Function
detectOsType
()
src/telemetry/ClearcutLogger.ts:36
↓ 1 callers
Function
discoverBundledPackages
* Parse all .ts files in src/third_party/ and extract the bare package names * from import/export statements. Relative imports and node_modules paths
scripts/eslint_rules/no-direct-third-party-imports-rule.js:40
↓ 1 callers
Function
discoverScenarios
( scenariosDir: string, scenarioFilter?: string, )
scripts/profile/profile_mcp.ts:50
↓ 1 callers
Method
dispose
()
src/collectors/PageCollector.ts:138
↓ 1 callers
Function
encodeMappings
()
tests/LogpointManager.test.ts:212
↓ 1 callers
Function
ensureSubmodule
()
scripts/prepare.ts:59
↓ 1 callers
Function
errorResult
(text: string)
src/ToolHandler.ts:217
↓ 1 callers
Function
escapeHtmlTags
(text: string)
scripts/generate-docs.ts:54
↓ 1 callers
Function
evaluateWithTimeout
( page: McpPage, expression: string, )
tests/LogpointManager.test.ts:278
↓ 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:92
↓ 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:308
↓ 1 callers
Function
filterExplicitArgs
( args: Partial<ParsedArguments>, baseOptions: McpOptions, )
src/config/ServerConfig.ts:39
↓ 1 callers
Method
find
( extensionId: string, filter: (item: WithSymbolId<ConsoleMessage | UncaughtError>) => boolean, )
src/collectors/ServiceWorkerCollector.ts:195
↓ 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:127
↓ 1 callers
Function
findOnPath
( command: string, env: NodeJS.ProcessEnv, )
scripts/gclient-sync.ts:46
↓ 1 callers
Method
finish
(element: Element)
src/McpPage.ts:1647
↓ 1 callers
Function
flushBatch
()
src/processors/ChunkedTraceParser.ts:219
↓ 1 callers
Function
flushLogs
( logFile: fs.WriteStream, timeoutMs = 2000, )
src/utils/logger.ts:29
↓ 1 callers
Function
formatAncestorRuleHeader
(ancestor: AncestorCSSRule)
src/formatters/CssFormatter.ts:552
↓ 1 callers
Function
formatArgs
(msg: ConsoleMessageDetailed)
src/formatters/ConsoleFormatter.ts:384
↓ 1 callers
Function
formatArrayItems
(preview: Protocol.Runtime.ObjectPreview)
src/formatters/RemoteObjectFormatter.ts:115
↓ 1 callers
Function
formatAsyncFragment
( fragment: DevTools.DevTools.StackTrace.StackTrace.AsyncFragment, formatter: {isIgnored: IgnoreCheck}, )
src/formatters/ConsoleFormatter.ts:463
↓ 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:492
↓ 1 callers
Function
formatComments
(threads: readonly StructuredCommentThread[])
src/formatters/CommentFormatter.ts:35
↓ 1 callers
Function
formatCount
(count: number, singular: string)
src/formatters/HeapSnapshotFormatter.ts:369
↓ 1 callers
Function
formatDOMLinkState
( state: DevTools.HeapSnapshotModel.HeapSnapshotModel.DOMLinkState, )
src/formatters/HeapSnapshotFormatter.ts:385
↓ 1 callers
Method
formatDiffTotals
(totals: HeapSnapshotClassDiffTotals)
src/formatters/HeapSnapshotFormatter.ts:286
↓ 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:75
↓ 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:1898
↓ 1 callers
Function
formatScopeName
( scope: DevTools.HeapSnapshotModel.HeapSnapshotModel.ScopeAnalysis, options: HeapSnapshotFormatOptions, )
src/formatters/HeapSnapshotFormatter.ts:373
↓ 1 callers
Function
formatSignedCount
(n: number)
src/formatters/HeapSnapshotFormatter.ts:399
↓ 1 callers
Function
formatSignedSize
(bytes: number)
src/formatters/HeapSnapshotFormatter.ts:403
↓ 1 callers
Method
formatThread
(thread: StructuredCommentThread)
src/formatters/CommentFormatter.ts:88
↓ 1 callers
Function
formatValidationError
(toolName: string, error: zod.ZodError)
src/ToolHandler.ts:207
↓ 1 callers
Function
formatWebAuthnLabel
(mcpPage: McpPage)
src/McpResponse.ts:1918
↓ 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:43
↓ 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:57
↓ 1 callers
Function
gap
(count: number)
src/formatters/RemoteObjectFormatter.ts:130
↓ 1 callers
Function
generateCli
()
scripts/generate-cli.ts:82
↓ 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:818
↓ 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:153
↓ 1 callers
Function
getCalleeName
(callee)
scripts/eslint_rules/enforce-using-rule.js:10
↓ 1 callers
Method
getConsoleMessageById
( id: number, )
src/McpPage.ts:852
↓ 1 callers
Function
getDataFolder
()
src/telemetry/persistence.ts:37
↓ 1 callers
Function
getDevToolsCommit
()
scripts/generate-third-party-notices.ts:207
↓ 1 callers
Function
getDisabledReason
( tool: AnyToolDefinition, serverArgs: ParsedArguments, )
src/ToolHandler.ts:73
↓ 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:238
↓ 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:1110
← previous
next →
701–800 of 1,397, ranked by callers