Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChromeDevTools/chrome-devtools-mcp
/ functions
Functions
1,492 in github.com/ChromeDevTools/chrome-devtools-mcp
⨍
Functions
1,492
◇
Types & classes
328
↓ 3 callers
Function
createMockCdpJSHandle
( remoteObject: Protocol.Runtime.RemoteObject, session: CDPSession, )
tests/mocks.ts:477
↓ 3 callers
Function
createMockClassDiff
( options: Partial<HeapSnapshotClassDiff> = {}, )
tests/mocks.ts:1227
↓ 3 callers
Function
createMockContextAnalysisResult
()
tests/mocks.ts:1303
↓ 3 callers
Function
createMockElementHandle
()
tests/mocks.ts:487
↓ 3 callers
Function
createMockHTTPRequest
( options: { url?: string; resourceType?: ResourceType; } = {}, )
tests/mocks.ts:257
↓ 3 callers
Function
createMockWebMCPTool
(options: { name: string; description?: string; inputSchema?: object; annotations?: Protocol.WebMCP.An
tests/mocks.ts:352
↓ 3 callers
Function
createMockWebWorker
()
tests/mocks.ts:516
↓ 3 callers
Method
dedent
()
src/formatters/CssFormatter.ts:225
↓ 3 callers
Method
discoverThirdPartyDeveloperTools
()
src/McpPage.ts:658
↓ 3 callers
Method
dispose
()
src/McpContext.ts:430
↓ 3 callers
Method
dispose
()
src/processors/HeapSnapshotManager.ts:590
↓ 3 callers
Method
dispose
()
src/config/ConfigWatcher.ts:101
↓ 3 callers
Method
disposeCommentBridge
()
src/McpPage.ts:796
↓ 3 callers
Method
enqueueEvent
(event: ChromeDevToolsMcpExtension)
src/telemetry/watchdog/ClearcutSender.ts:133
↓ 3 callers
Method
ensureDevToolsCommentBridge
* Returns the comment bridge attached to the DevTools page, or undefined if * the DevTools page does not support DevTools comments.
src/McpPage.ts:805
↓ 3 callers
Function
fetchWithValidatedRedirects
( url: URL, options: { policy: UrlAccessPolicy; method?: 'GET' | 'HEAD'; headers?: Record<stri
src/utils/network.ts:70
↓ 3 callers
Function
fileUrlToPathWithPosixFallback
( url: string | URL, windows: boolean = process.platform === 'win32', )
src/utils/files.ts:38
↓ 3 callers
Method
format
( context: McpContext, data: { detailedConsoleMessage: ConsoleFormatter | IssueFormatter | undef
src/McpResponse.ts:954
↓ 3 callers
Function
formatOptional
(bytes: number | undefined)
scripts/profile/footprint_mcp.ts:254
↓ 3 callers
Function
formatStackTrace
( stackTrace: FormattableStackTrace, cause: SymbolizedError | undefined, formatter: {isIgnored: IgnoreCh
src/formatters/ConsoleFormatter.ts:433
↓ 3 callers
Method
getAggregates
( filePath: string, filterName?: string, objectId?: number, )
src/processors/HeapSnapshotManager.ts:206
↓ 3 callers
Function
getCSSStyleRuleMetadata
* Extracts common metadata (`ancestors`, `matchingSelectors`, `source`) * uniformly across matched rules, inherited rules, and pseudo-element rules.
src/formatters/CssFormatter.ts:447
↓ 3 callers
Function
getCategoryOptions
()
src/config/category-options.ts:158
↓ 3 callers
Method
getClassDiffs
( baseFilePath: string, currentFilePath: string, )
src/processors/HeapSnapshotManager.ts:387
↓ 3 callers
Function
getCommandArgSpec
( args: Record<string, ArgDef>, globalOptions: ReadonlyMap<string, OptionKind> = GLOBAL_CLI_OPTIONS, )
src/config/cli-commands.ts:129
↓ 3 callers
Method
getConsoleData
( includePreservedMessages?: boolean, )
src/McpPage.ts:848
↓ 3 callers
Method
getCssStylesForUid
(uid: string)
src/McpPage.ts:1311
↓ 3 callers
Method
getDetailedClassDiff
( baseFilePath: string, currentFilePath: string, classIndex: number, )
src/processors/HeapSnapshotManager.ts:416
↓ 3 callers
Function
getMockAggregatedIssue
()
tests/utils.ts:471
↓ 3 callers
Method
getNodesById
( filePath: string, id: number, filterName?: string, objectId?: number, )
src/processors/HeapSnapshotManager.ts:279
↓ 3 callers
Function
getRecord
(value: unknown, key: string)
scripts/generate-third-party-notices.ts:67
↓ 3 callers
Method
getRestartRequiredChanges
* Returns the restart-required options whose resolved values differ between * this config and `next`.
src/config/ServerConfig.ts:314
↓ 3 callers
Function
getRuntimeHome
(sessionId: string)
src/daemon/utils.ts:50
↓ 3 callers
Function
getSocketPath
(sessionId: string)
src/daemon/utils.ts:34
↓ 3 callers
Method
getWebMcpTools
()
src/McpPage.ts:757
↓ 3 callers
Method
getWorkers
()
src/McpContext.ts:1046
↓ 3 callers
Method
hasSnapshots
()
src/processors/HeapSnapshotManager.ts:573
↓ 3 callers
Method
indent
()
src/formatters/CssFormatter.ts:221
↓ 3 callers
Method
init
(workers: McpWorker[])
src/collectors/ServiceWorkerCollector.ts:166
↓ 3 callers
Method
installExtension
(extensionPath: string)
src/McpContext.ts:1115
↓ 3 callers
Function
isCategoryOffByDefault
(category: ToolCategory)
src/config/category-options.ts:184
↓ 3 callers
Function
isLocalhost
(url?: string)
src/utils/url.ts:23
↓ 3 callers
Function
isMcpOptionKey
(key: string)
src/config/ServerConfig.ts:23
↓ 3 callers
Method
isPageSelected
(page: McpPage)
src/McpContext.ts:791
↓ 3 callers
Function
isRecord
(value: unknown)
scripts/generate-third-party-notices.ts:47
↓ 3 callers
Method
isRunningPerformanceTrace
()
src/McpPage.ts:621
↓ 3 callers
Method
isValid
()
src/formatters/IssueFormatter.ts:156
↓ 3 callers
Method
loadResource
(path: string)
src/McpContext.ts:1281
↓ 3 callers
Method
logDailyActiveIfNeeded
()
src/telemetry/ClearcutLogger.ts:278
↓ 3 callers
Method
logServerError
(args: { errorCode: ErrorCode; toolName?: string; })
src/telemetry/ClearcutLogger.ts:300
↓ 3 callers
Method
logServerStart
(flagUsage: FlagUsage)
src/telemetry/ClearcutLogger.ts:270
↓ 3 callers
Method
makeTargetFilter
(enableExtensions = false)
src/BrowserManager.ts:69
↓ 3 callers
Method
mergeReloadable
* Produces a new {@link ServerConfig} that takes reloadable options from * `next` and keeps restart-required options from this config, preserving
src/config/ServerConfig.ts:295
↓ 3 callers
Method
openDevTools
* Opens the DevTools window and waits until the DevTools frontend creates * its universe, which also creates the CD4A bridge when it is enabled.
src/McpPage.ts:833
↓ 3 callers
Method
pageTaskQueue
* The queue for tasks on page `pageId`, a child of {@link taskQueue}. * Returns {@link taskQueue} when no page has this id, for example before *
src/McpContext.ts:771
↓ 3 callers
Method
parseCliArgs
* Step 1: parses the CLI flags without applying defaults, so the result only * contains what the user passed. `--help` and `--version` print and ex
src/config/ConfigParser.ts:79
↓ 3 callers
Method
parseConfigFile
* Step 2: reads the JSON config file and runs it through yargs to reject * unknown keys and apply coercions, without applying defaults.
src/config/ConfigParser.ts:90
↓ 3 callers
Method
queryObjects
( filePath: string, options: HeapQueryOptions, )
src/processors/HeapSnapshotManager.ts:542
↓ 3 callers
Function
readJson
(filePath: string)
scripts/generate-third-party-notices.ts:75
↓ 3 callers
Function
readText
(filePath: string)
scripts/generate-third-party-notices.ts:79
↓ 3 callers
Method
recordedTraces
()
src/McpContext.ts:1111
↓ 3 callers
Method
reset
()
tests/server.ts:86
↓ 3 callers
Method
saveState
(state: LocalState)
src/telemetry/persistence.ts:60
↓ 3 callers
Method
saveTemporaryFile
( data: Uint8Array<ArrayBufferLike>, filename: string, )
src/McpContext.ts:1083
↓ 3 callers
Method
setClientName
(clientName: string)
src/telemetry/ClearcutLogger.ts:153
↓ 3 callers
Method
setIncludeNetworkRequests
( value: boolean, options?: PaginationOptions & { resourceTypes?: string[]; includePreserv
src/tools/ToolDefinition.ts:290
↓ 3 callers
Method
setListThirdPartyDeveloperTools
()
src/tools/ToolDefinition.ts:345
↓ 3 callers
Method
setListWebMcpTools
()
src/tools/ToolDefinition.ts:346
↓ 3 callers
Method
setLogpoints
* Makes the given logpoints the complete set of logpoints on the page, see * {@link LogpointManager.setLogpoints}. The manager is created on first
src/McpPage.ts:458
↓ 3 callers
Function
setupUnhandledRejectionHandler
(onCrash: () => void)
src/utils/errorHandling.ts:75
↓ 3 callers
Function
skipString
* Scans past a JSON string starting at the opening quotation mark. * * @param buffer The trace byte buffer to scan. * @param startQuotePos The buff
src/processors/ChunkedTraceParser.ts:98
↓ 3 callers
Method
start
* Starts watching the config file. Throws if `configPath` does not exist.
src/config/ConfigWatcher.ts:63
↓ 3 callers
Method
start
()
tests/server.ts:90
↓ 3 callers
Function
startDaemon
( mcpArgs: string[] = [], sessionId: string, )
src/daemon/client.ts:114
↓ 3 callers
Function
stripUndefined
(options: T)
tests/mocks.ts:1395
↓ 3 callers
Function
stripYargsPositionalArgs
( parsed: T, )
src/config/mcp-options.ts:464
↓ 3 callers
Function
transformArgName
(zodType: ZodType, name: string)
src/telemetry/transformation.ts:163
↓ 3 callers
Function
truncateUrl
(url: string)
src/utils/text.ts:61
↓ 3 callers
Function
validateNetworkUrl
(url: URL, policy: UrlAccessPolicy)
src/utils/network.ts:55
↓ 3 callers
Function
validateUrlPatterns
( patterns: string[], flagName: string, )
src/utils/url.ts:240
↓ 3 callers
Function
wait
(ms: number)
tests/config/ConfigWatcher.test.ts:22
↓ 3 callers
Function
waitExecutionFor
( func: () => Promise<void>, timeout: number, )
tests/utils.ts:592
↓ 3 callers
Function
waitFor
( check: () => boolean, timeoutMessage: string, )
src/daemon/client.ts:45
↓ 3 callers
Method
waitForTextOnPage
( text: string[], options: {timeout?: number; visible?: boolean} = {}, )
src/McpPage.ts:1629
↓ 3 callers
Function
withBrowser
( cb: (browser: Browser, page: Page) => Promise<void>, options: { debug?: boolean; autoOpenDevTool
tests/utils.ts:132
↓ 3 callers
Function
withoutDefaults
( options: Record<string, YargsOptions>, )
src/config/mcp-options.ts:449
↓ 2 callers
Method
#activate
()
src/NetworkOverrideManager.ts:336
↓ 2 callers
Method
#applyConfigLocked
(nextConfig: ServerConfig)
src/index.ts:195
↓ 2 callers
Method
#applyNodeFilter
( snapshot: DevTools.HeapSnapshotModel.HeapSnapshotProxy.HeapSnapshotProxy, filter: DevTools.HeapSnaps
src/processors/HeapSnapshotManager.ts:184
↓ 2 callers
Method
#attachFrameNavigatedWithinDocumentListener
()
src/collectors/PageCollector.ts:397
↓ 2 callers
Method
#cancelEntry
(entry: Entry, reason: unknown)
src/utils/TaskRunner.ts:143
↓ 2 callers
Method
#closeBrowser
()
src/BrowserManager.ts:573
↓ 2 callers
Method
#closeLaunchedBrowser
(browser: Browser)
src/BrowserManager.ts:552
↓ 2 callers
Method
#dataFormat
(serverArgs: ParsedArguments)
src/ToolHandler.ts:373
↓ 2 callers
Method
#detachFrameNavigatedWithinDocumentListener
()
src/collectors/PageCollector.ts:208
↓ 2 callers
Method
#detachFrameNavigatedWithinDocumentListener
()
src/collectors/PageCollector.ts:406
↓ 2 callers
Method
#evictIfCurrent
* Handles a `disconnected` event fired by a browser we hold: clears the * cached handle if it's still the current one, so the next ensureBrowser()
src/BrowserManager.ts:544
↓ 2 callers
Method
#findPageById
(pageId: number)
src/McpContext.ts:754
↓ 2 callers
Method
#formatConsoleData
( messages: Array< ConsoleMessage | Error | DevTools.AggregatedIssue | UncaughtError >, page
src/McpResponse.ts:745
↓ 2 callers
Method
#fromDetails
( opts: Parameters<typeof SymbolizedError.fromDetails>[0], causeDepth: number, )
src/devtools/DevtoolsUtils.ts:337
← previous
next →
201–300 of 1,492, ranked by callers