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
main
()
scripts/generate-third-party-notices.ts:303
↓ 1 callers
Function
main
()
scripts/update-lighthouse.ts:15
↓ 1 callers
Function
main
()
scripts/eval_gemini.ts:184
↓ 1 callers
Function
main
()
scripts/update_metrics.ts:130
↓ 1 callers
Function
main
()
scripts/prepare.ts:160
↓ 1 callers
Function
main
()
scripts/profile/footprint_mcp.ts:467
↓ 1 callers
Function
main
()
scripts/profile/profile_mcp.ts:259
↓ 1 callers
Function
main
()
tests/run-tests.ts:435
↓ 1 callers
Function
makeFormatter
(id: number, type: string, text: string, argsCount = 0)
tests/formatters/ConsoleFormatterGrouping.test.ts:34
↓ 1 callers
Function
makeFormatterWithArg
( id: number, text: string, arg: Protocol.Runtime.RemoteObject, )
tests/formatters/ConsoleFormatterGrouping.test.ts:37
↓ 1 callers
Function
makeUncaughtErrorFormatter
(id: number)
tests/formatters/ConsoleFormatterGrouping.test.ts:43
↓ 1 callers
Function
measureTree
( rootPid: number, iteration: number, )
scripts/profile/footprint_mcp.ts:161
↓ 1 callers
Function
medianOptional
(values: Array<number | undefined>)
scripts/profile/footprint_mcp.ts:233
↓ 1 callers
Function
medianTotals
(measurements: TreeMeasurement[])
scripts/profile/footprint_mcp.ts:244
↓ 1 callers
Function
mergeLayer
( previous: Readonly<Partial<ParsedArguments>>, next: Readonly<Partial<ParsedArguments>>, )
src/config/ServerConfig.ts:56
↓ 1 callers
Function
minSegments
()
tests/LogpointManager.test.ts:170
↓ 1 callers
Function
minifiedSourceMap
()
tests/LogpointManager.test.ts:242
↓ 1 callers
Function
mockTarget
(url: string)
tests/browser.test.ts:1382
↓ 1 callers
Function
noPaginationOptions
(options: PaginationOptions)
src/utils/pagination.ts:64
↓ 1 callers
Function
node
( id: number, )
tests/tools/lighthouse.test.ts:364
↓ 1 callers
Function
notify
(child: Server, msg: {method: string; params?: unknown})
tests/shutdown.test.ts:126
↓ 1 callers
Method
notify
(method: string)
tests/e2e/telemetry.test.ts:188
↓ 1 callers
Function
number
(value: string)
tests/formatters/RemoteObjectFormatter.test.ts:39
↓ 1 callers
Function
onAbort
()
src/utils/raceWithSignal.ts:12
↓ 1 callers
Method
onEvicted
Receives the items that `maxResourcesPerNavigation` removes.
src/collectors/PageCollector.ts:128
↓ 1 callers
Function
onParentDeath
(reason: string)
src/telemetry/watchdog/main.ts:139
↓ 1 callers
Function
parseBudgetOverrides
( entries: string[] | undefined, )
scripts/profile/footprint_mcp.ts:445
↓ 1 callers
Function
parseConfig
(argv: string[], env: NodeJS.ProcessEnv = {})
tests/cli.test.ts:35
↓ 1 callers
Function
parseConfig
(argv: string[] = [])
tests/McpServer.test.ts:59
↓ 1 callers
Function
parseConfig
(argv: string[] = [], env: NodeJS.ProcessEnv = {})
tests/config/ServerConfig.test.ts:23
↓ 1 callers
Function
parseDefaultArgs
(options: McpOptions)
src/config/ServerConfig.ts:69
↓ 1 callers
Function
parseEventsArray
* Scans trace events from a JSON array in bounded batches to limit memory consumption. * * @param buffer The raw byte buffer containing the events a
src/processors/ChunkedTraceParser.ts:203
↓ 1 callers
Function
parseKey
(keyInput: string)
src/utils/keyboard.ts:289
↓ 1 callers
Function
parseKiB
(text: string, field: string)
scripts/profile/footprint_mcp.ts:112
↓ 1 callers
Function
parseLogpoint
(text: string)
src/utils/logpoint.ts:77
↓ 1 callers
Function
parseReadmeChromium
(directory: string)
scripts/generate-third-party-notices.ts:213
↓ 1 callers
Function
parseTestIdToken
(token: string)
tests/run-tests.ts:196
↓ 1 callers
Function
parseToolCommand
(rawArgs: string[])
tests/cli.test.ts:1795
↓ 1 callers
Function
parseTrace
(fileName: string)
tests/tools/performance.test.ts:327
↓ 1 callers
Function
parseWatchdogArgs
()
src/telemetry/watchdog/main.ts:26
↓ 1 callers
Function
parseWebDevTrace
* Parses the web.dev trace fixture one time for this file. A parse takes * about 0.8 s of CPU time, and the tests only read the result.
tests/McpResponse.test.ts:87
↓ 1 callers
Function
performEvaluation
( evaluatable: Evaluatable, source: string, format: 'function' | 'script', args: Array<JSHandle<unknow
src/tools/script.ts:248
↓ 1 callers
Function
pngHeight
* Reads the pixel height from a PNG buffer's IHDR chunk (bytes 20..23).
tests/tools/screenshot.test.ts:35
↓ 1 callers
Function
pngWidth
* Reads the pixel width from a PNG buffer's IHDR chunk (bytes 16..19).
tests/tools/screenshot.test.ts:28
↓ 1 callers
Function
populateCruxData
We tell CrUXManager to fetch data so it's available when DevTools.PerformanceTraceFormatter is invoked
src/tools/performance.ts:305
↓ 1 callers
Function
prependToPath
(env: NodeJS.ProcessEnv, dir: string)
scripts/gclient-sync.ts:65
↓ 1 callers
Function
preview
( subtype: Protocol.Runtime.ObjectPreview['subtype'], description: string, properties: Protocol.Runtime.
tests/formatters/RemoteObjectFormatter.test.ts:13
↓ 1 callers
Function
profileConfiguration
( configuration: FootprintConfiguration, options: FootprintOptions, rootDir: string, clearcutUrl: stri
scripts/profile/footprint_mcp.ts:396
↓ 1 callers
Function
profileScenario
( scenarioEntry: ScenarioEntry, scenarioArgs: ScenarioArgs, options: ProfileOptions, rootDir: string,
scripts/profile/profile_mcp.ts:97
↓ 1 callers
Function
puppeteerLogger
(prefix: string)
src/utils/logger.ts:177
↓ 1 callers
Method
queryHeapSnapshotObjects
( filePath: string, options: HeapQueryOptions, )
src/McpContext.ts:1199
↓ 1 callers
Function
readBundledFiles
* Returns the non-tree-shaken input files of all bundles as absolute * forward-slash normalized paths.
scripts/generate-third-party-notices.ts:137
↓ 1 callers
Function
readContent
* Returns undefined if the file cannot be read, for example while it is being * replaced.
src/config/ConfigWatcher.ts:20
↓ 1 callers
Function
readDevToolsThirdPartyNotice
(directory: string)
scripts/generate-third-party-notices.ts:233
↓ 1 callers
Function
readLinuxSmaps
( pid: number, )
scripts/profile/footprint_mcp.ts:118
↓ 1 callers
Function
readLoadedFilePaths
(logPath: string)
tests/e2e/lazy-startup.test.ts:60
↓ 1 callers
Function
readPackageNotice
(packageDir: string)
scripts/generate-third-party-notices.ts:189
↓ 1 callers
Function
readPidFile
(pidFile: string)
src/daemon/utils.ts:173
↓ 1 callers
Function
readTextareaValue
(index: number)
tests/e2e/chrome-devtools-hyphen-positionals.test.ts:75
↓ 1 callers
Function
readViewport
()
tests/tools/lighthouse.test.ts:39
↓ 1 callers
Function
record
( label: string, takeSnapshot: boolean, )
scripts/profile/profile_mcp.ts:154
↓ 1 callers
Function
redactHeadersForLogging
( headers: Record<string, unknown>, )
src/utils/logger.ts:92
↓ 1 callers
Method
register
()
tests/tools/webauthn.test.ts:25
↓ 1 callers
Function
removeConflictingGlobalDeclaration
* Removes the conflicting global HTMLElementEventMap declaration from * @paulirish/trace_engine/models/trace/ModelImpl.d.ts to avoid TS2717 error *
scripts/prepare.ts:19
↓ 1 callers
Function
removePidFileSafely
(pidFilePath: string)
src/daemon/client.ts:257
↓ 1 callers
Method
resetIdsForTesting
* Resets the shared id counter. For tests only, mirroring * McpContext.resetPageIdsForTesting().
src/McpWorker.ts:70
↓ 1 callers
Method
resetPageIdsForTesting
()
src/McpContext.ts:489
↓ 1 callers
Function
resetUpdateCheckFlagForTesting
()
src/utils/check-for-updates.ts:23
↓ 1 callers
Method
resetWorkerIdsForTesting
()
src/McpContext.ts:493
↓ 1 callers
Method
resolveClassKeyFromId
(id: number)
src/processors/HeapSnapshotManager.ts:120
↓ 1 callers
Function
resolveConstString
* Resolves an identifier to the string literal it is initialized with, if it * is a `const` declared in the same file.
scripts/eslint_rules/max-tool-name-length-rule.js:69
↓ 1 callers
Function
resolveContainerQueries
( matchedStyles: MatchedStyles, resolveUid?: UidResolver, )
src/formatters/CssFormatter.ts:1295
↓ 1 callers
Function
resolveDefaultChromePath
( devtoolsRoot: string, targetBuildDir: string, )
tests/run-tests.ts:376
↓ 1 callers
Method
resolveIdFromClassKey
(classKey: string)
src/processors/HeapSnapshotManager.ts:116
↓ 1 callers
Function
resolvePageIndex
( pageIdx: number | undefined, totalPages: number, )
src/utils/pagination.ts:68
↓ 1 callers
Function
resolveProjectPaths
(genDirectory: string)
tests/run-tests.ts:51
↓ 1 callers
Method
resolveReqidToCdpRequestId
(reqid: number)
src/McpPage.ts:779
↓ 1 callers
Function
resolveScriptSource
( inlineSource: string | undefined, sourcePath: string | undefined, context: Context, )
src/tools/script.ts:219
↓ 1 callers
Function
resolveSourcePath
(file: string)
tests/resultsink-reporter.ts:69
↓ 1 callers
Method
resolveUidToBackendNodeId
( uid: string, )
src/McpPage.ts:1288
↓ 1 callers
Function
rpc
( child: Server, msg: {method: string; params?: unknown}, )
tests/shutdown.test.ts:75
↓ 1 callers
Function
run
(queue: TaskQueue, name: string, ms: number)
tests/utils/TaskRunner.test.ts:211
↓ 1 callers
Function
runCli
( rawArgs: readonly string[], options: RunCliOptions = {}, )
src/daemon/chrome-devtools-cli.ts:64
↓ 1 callers
Function
runDepotTool
(tool: string, args: string[], options: RunOptions)
scripts/gclient-sync.ts:94
↓ 1 callers
Function
runIteration
()
scripts/profile/profile_mcp.ts:136
↓ 1 callers
Function
runOn
Runs `fn` as a task on `queue`.
tests/ToolHandler.test.ts:55
↓ 1 callers
Function
runRunner
( args: string[], extraEnv: NodeJS.ProcessEnv = {}, )
tests/run-tests.test.ts:383
↓ 1 callers
Function
runSingleScenario
( scenarioPath: string, apiKey: string, server: TestServer, modelId: string, debug: boolean, inclu
scripts/eval_gemini.ts:40
↓ 1 callers
Function
runTelemetryTest
( killFn: (ctx: TestContext) => void, spawnOptions?: SpawnOptions, )
tests/e2e/telemetry.test.ts:287
↓ 1 callers
Function
runTests
(attempt: number)
tests/run-tests.ts:576
↓ 1 callers
Function
runWatchdogWithout
( missing: keyof typeof REQUIRED_ARGS, )
tests/telemetry/watchdog/main.test.ts:25
↓ 1 callers
Function
runWithRetry
(fn: () => Promise<void>)
tests/browser.test.ts:40
↓ 1 callers
Function
safeClose
(browser: Browser)
tests/browser.test.ts:27
↓ 1 callers
Function
schemaToCLIOptions
(toolName: string, schema: JsonSchema)
scripts/generate-cli.ts:53
↓ 1 callers
Function
scriptFor
(index: number)
scripts/profile/source_map_server.ts:30
↓ 1 callers
Function
selectNativeSelectOption
( handle: ElementHandle<Element>, signal: AbortSignal, )
src/tools/input.ts:101
↓ 1 callers
Function
selectOption
( handle: ElementHandle, aXNode: TextSnapshotNode, value: string, signal: AbortSignal, )
src/tools/input.ts:292
↓ 1 callers
Function
selectedPageIdFromToolResult
(result: unknown)
scripts/profile/utils.ts:31
↓ 1 callers
Function
selfCausedError
()
tests/devtools/DevtoolsUtils.test.ts:465
↓ 1 callers
Method
setIncludeExtensionServiceWorkers
(value: boolean)
src/McpResponse.ts:209
← previous
next →
1,001–1,100 of 1,581, ranked by callers