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
↓ 2 callers
Function
paginate
( items: readonly Item[], options?: PaginationOptions, )
src/utils/pagination.ts:22
↓ 2 callers
Function
parseByteSize
(value: string)
src/utils/bytes.ts:31
↓ 2 callers
Function
parseNonNegativeInteger
( value: string | undefined, name: string, )
scripts/profile/utils.ts:17
↓ 2 callers
Function
parseTraceEventsFromBuffer
( buffer: Uint8Array<ArrayBufferLike>, options: ParseTraceBufferOptions = {}, )
src/processors/ChunkedTraceParser.ts:339
↓ 2 callers
Function
redactConnectOptionsForLogging
(options: T)
src/utils/logger.ts:93
↓ 2 callers
Function
redactDaemonArgsForLogging
(args: readonly string[])
src/utils/logger.ts:122
↓ 2 callers
Function
registerCommandArgs
( y: Argv, args: Record<string, ArgDef>, )
src/config/cli-commands.ts:56
↓ 2 callers
Method
releaseDevToolsComments
* Disposes DevTools comment bridges across all pages when DevTools comment * tools are disabled.
src/McpContext.ts:345
↓ 2 callers
Method
releaseHeapSnapshots
* Closes all loaded heap snapshots when memory tools are disabled.
src/McpContext.ts:310
↓ 2 callers
Method
releasePerformanceTrace
* Discards recorded performance traces and stops any running trace when * performance tools are disabled.
src/McpContext.ts:323
↓ 2 callers
Method
releaseScreencasts
* Stops and saves active screencast recordings across all pages when * screencast tools are disabled.
src/McpContext.ts:288
↓ 2 callers
Method
reloadConfig
* Re-reads the config file resolved by `parse()` and merges it with the CLI * arguments again into a new {@link ServerConfig}. Unlike `parseConfig(
src/config/ConfigParser.ts:170
↓ 2 callers
Method
removeNetworkMocks
(filter: NetworkMockFilter)
src/McpPage.ts:986
↓ 2 callers
Function
replaceHtmlElementsWithUids
( schema: JSONSchema7Definition, )
src/McpPage.ts:102
↓ 2 callers
Function
requiresHiddenFlag
(tool: AnyToolDefinition)
src/tools/tools.ts:72
↓ 2 callers
Method
resetCounter
()
src/TextSnapshot.ts:32
↓ 2 callers
Method
resolveBackendNodeId
( backendNodeId: number, )
src/McpPage.ts:1268
↓ 2 callers
Method
resolveCdpRequestId
(cdpRequestId: string)
src/McpPage.ts:763
↓ 2 callers
Function
resolveUid
(backendId: number)
tests/formatters/CssFormatter.test.ts:517
↓ 2 callers
Function
responseBodyTimeoutMessage
(error: ResponseBodyTimeoutError)
src/formatters/NetworkFormatter.ts:34
↓ 2 callers
Function
restore
(value: unknown)
src/config/cli-commands.ts:299
↓ 2 callers
Method
restoreEmulation
()
src/McpPage.ts:1420
↓ 2 callers
Method
rootSandboxLaunchError
* Chrome refuses to start as root unless the sandbox is explicitly disabled and * only says so on its stderr. Because we launch with `pipe: true`,
src/BrowserManager.ts:108
↓ 2 callers
Method
roots
()
src/McpContext.ts:475
↓ 2 callers
Function
routedPageId
* The page id a page tool call targets, or `undefined` when the call targets * the selected page. `args` can be the raw or the parsed arguments.
src/ToolHandler.ts:253
↓ 2 callers
Function
run
( command: string, args: string[], {cwd, env, shell}: RunOptions, )
scripts/gclient-sync.ts:71
↓ 2 callers
Function
sanitizeClientName
(clientName: string)
src/telemetry/transformation.ts:34
↓ 2 callers
Function
sanitizeParams
( params: ShapeOutput<zod.ZodRawShape>, schema: zod.ZodRawShape, )
src/telemetry/transformation.ts:244
↓ 2 callers
Method
send
(method: string, params?: Record<string, unknown>)
scripts/profile/inspector.ts:93
↓ 2 callers
Method
send
()
tests/mocks.ts:225
↓ 2 callers
Method
sendShutdownEvent
()
src/telemetry/watchdog/ClearcutSender.ts:154
↓ 2 callers
Function
sendToClearcut
( events: BufferedEvent[], options: SendToClearcutOptions, )
src/telemetry/watchdog/ClearcutSender.ts:54
↓ 2 callers
Function
serializeArgs
( options: Record<string, YargsOptions>, argv: Record<string, unknown>, )
src/daemon/utils.ts:169
↓ 2 callers
Method
setDevToolsComments
(threads: CD4ACommentThread[])
src/tools/ToolDefinition.ts:348
↓ 2 callers
Method
setHeapSnapshotAggregates
( aggregateData: HeapSnapshotAggregateData, options?: PaginationOptions & HeapSnapshotFormatOptions,
src/tools/ToolDefinition.ts:244
↓ 2 callers
Method
setHeapSnapshotClassDiffs
( diff: HeapSnapshotDiff, options?: PaginationOptions & HeapSnapshotFormatOptions, )
src/tools/ToolDefinition.ts:271
↓ 2 callers
Method
setHeapSnapshotContextAnalysis
( analysis: DevTools.HeapSnapshotModel.HeapSnapshotModel.ContextAnalysisResult, options?: PaginationOp
src/tools/ToolDefinition.ts:283
↓ 2 callers
Method
setHeapSnapshotDetailedClassDiff
( detailedClassDiff: HeapSnapshotDetailedClassDiff, options?: PaginationOptions & HeapSnapshotFormatOp
src/tools/ToolDefinition.ts:275
↓ 2 callers
Method
setHeapSnapshotDominators
( dominators: DevTools.HeapSnapshotModel.HeapSnapshotModel.DominatorChain, options?: HeapSnapshotForma
src/tools/ToolDefinition.ts:267
↓ 2 callers
Method
setHeapSnapshotDuplicateStrings
( duplicateStrings: DuplicateStringGroup[], options?: PaginationOptions & HeapSnapshotFormatOptions,
src/tools/ToolDefinition.ts:259
↓ 2 callers
Method
setHeapSnapshotNodes
( nodes: DevTools.HeapSnapshotModel.HeapSnapshotModel.ItemsRange, options?: PaginationOptions & HeapSn
src/tools/ToolDefinition.ts:255
↓ 2 callers
Method
setHeapSnapshotObjectDetails
( objectInfo: DevTools.HeapSnapshotModel.HeapSnapshotModel.ObjectInfo, options?: HeapSnapshotFormatOpt
src/tools/ToolDefinition.ts:279
↓ 2 callers
Method
setHeapSnapshotRetainingPaths
( retainingPaths: DevTools.HeapSnapshotModel.HeapSnapshotModel.RetainingPaths, options?: HeapSnapshotF
src/tools/ToolDefinition.ts:263
↓ 2 callers
Method
setHeapSnapshotStats
( stats: DevTools.HeapSnapshotModel.HeapSnapshotModel.Statistics, staticData: DevTools.HeapSnapshotMod
src/tools/ToolDefinition.ts:248
↓ 2 callers
Method
setIncludeConsoleData
( value: boolean, options?: PaginationOptions & { types?: string[]; includePreservedMessag
src/tools/ToolDefinition.ts:299
↓ 2 callers
Method
setIncludeCssStyles
( styles: ElementCssStyles, options: CssFormatterOptions & PaginationOptions, )
src/tools/ToolDefinition.ts:313
↓ 2 callers
Method
setListExtensions
()
src/tools/ToolDefinition.ts:343
↓ 2 callers
Method
setReconnectNotice
* Surfaces a one-time note that the browser reconnected and page ids changed. * Set by the tool handler when the context reports a pending reconnec
src/McpResponse.ts:188
↓ 2 callers
Function
skipWhitespace
* Advances past any RFC 8259 JSON whitespace bytes. * * @param buffer The trace byte buffer to inspect. * @param start The buffer index where scann
src/processors/ChunkedTraceParser.ts:75
↓ 2 callers
Function
sortValue
(property: Protocol.Runtime.PropertyPreview)
src/formatters/RemoteObjectFormatter.ts:58
↓ 2 callers
Function
spawnServer
( mockContext: MockServerContext, spawnOptions?: SpawnOptions, )
tests/e2e/telemetry.test.ts:259
↓ 2 callers
Function
startMockServer
()
tests/e2e/telemetry.test.ts:40
↓ 2 callers
Method
storeTraceRecording
(result: TraceResult)
src/McpContext.ts:1105
↓ 2 callers
Function
stripTerminalEscapes
(value: string)
src/utils/logger.ts:50
↓ 2 callers
Function
throwIfInvalidKey
(key: string)
src/utils/keyboard.ts:279
↓ 2 callers
Function
toClassDiff
( index: number, rawDiff: DevTools.HeapSnapshotModel.HeapSnapshotModel.Diff, )
src/processors/HeapSnapshotManager.ts:75
↓ 2 callers
Function
toError
(err: unknown)
src/utils/errorHandling.ts:71
↓ 2 callers
Method
toJSON
()
src/formatters/NetworkFormatter.ts:192
↓ 2 callers
Method
toJSON
()
src/formatters/LogpointFormatter.ts:82
↓ 2 callers
Method
toJSON
()
src/formatters/ConsoleFormatter.ts:269
↓ 2 callers
Function
toNetworkOverride
(override: StoredNetworkOverride)
src/NetworkOverrideManager.ts:134
↓ 2 callers
Method
toString
()
src/formatters/NetworkFormatter.ts:184
↓ 2 callers
Function
truncateTitle
(title: string, maxLength = 50)
src/McpResponse.ts:2009
↓ 2 callers
Function
truncateValue
* Truncates `value` to `maxLength`, appending an ellipsis if it was cut off.
src/formatters/HeapSnapshotFormatter.ts:47
↓ 2 callers
Method
unsubscribe
()
src/collectors/ServiceWorkerCollector.ts:61
↓ 2 callers
Method
update
* Replaces the tool definition and re-evaluates its status against the * current server config. Callers must pause the task runner, so calls that
src/ToolHandler.ts:314
↓ 2 callers
Method
validateConflicts
* Step 4: rejects mutually exclusive inputs. Only explicit inputs are * checked, so defaults never conflict.
src/config/ServerConfig.ts:131
↓ 2 callers
Function
validateEnumHomogeneity
(values: unknown[])
src/telemetry/metricsRegistry.ts:22
↓ 2 callers
Function
validateExpression
(expression: string)
src/LogpointManager.ts:38
↓ 2 callers
Method
validateImplications
(explicitArgs: Partial<ParsedArguments>)
src/config/ServerConfig.ts:149
↓ 2 callers
Function
validateToolFiles
* `isLocal` tells whether files are accessed on the machine the server runs on, * which is always the case for browserless tools.
src/ToolHandler.ts:192
↓ 2 callers
Function
validateUrlNotBlocked
( url: URL, blocklist?: readonly string[], )
src/utils/network.ts:44
↓ 2 callers
Function
verifyDaemonVersion
( sessionId: string, cliVersion: string, )
src/daemon/client.ts:278
↓ 2 callers
Method
viewport
()
src/McpPage.ts:889
↓ 2 callers
Method
waitForCommentEvent
* Resolves `true` on the next debounced comment event, or `false` when * `timeoutMs` elapses or the bridge is disposed first.
src/devtools/DevToolsCommentBridge.ts:122
↓ 2 callers
Method
waitForEventsAfterAction
( action: (signal: AbortSignal) => Promise<unknown>, options?: { timeout?: number; waitFor
src/McpPage.ts:921
↓ 2 callers
Function
waitForInitialization
()
tests/ToolHandler.test.ts:352
↓ 2 callers
Function
waitForSourceMaps
( model: DevTools.DebuggerModel, scripts: Iterable<DevToolsScript>, signal: AbortSignal, )
src/devtools/DevtoolsUtils.ts:662
↓ 2 callers
Method
withFileArgs
* Produces a new {@link ServerConfig} with updated config-file arguments, * preserving this config's CLI arguments, config path, and environment.
src/config/ServerConfig.ts:280
↓ 2 callers
Function
workerIdPrefix
(type: WorkerType)
src/McpWorker.ts:28
↓ 2 callers
Method
writeComment
(comment: string)
src/formatters/CssFormatter.ts:237
↓ 2 callers
Function
writeIfChanged
(filePath: string, content: string)
scripts/generate-third-party-notices.ts:83
↓ 1 callers
Method
#abortRequest
(request: HTTPRequest)
src/NetworkOverrideManager.ts:533
↓ 1 callers
Method
#addToBuffer
(event: ChromeDevToolsMcpExtension)
src/telemetry/watchdog/ClearcutSender.ts:225
↓ 1 callers
Method
#applyWebAuthnConfig
( model: DevTools.WebAuthnModel.WebAuthnModel, options: WebAuthnAuthenticator['options'] | undefined,
src/McpPage.ts:547
↓ 1 callers
Method
#attachFrameNavigatedWithinDocumentListener
()
src/collectors/PageCollector.ts:199
↓ 1 callers
Method
#cancel
(queue: TaskQueue, reason: Error)
src/utils/TaskRunner.ts:135
↓ 1 callers
Method
#collectAtRules
( rules: CascadeRule[], matchedStyles: MatchedStyles, )
src/formatters/CssFormatter.ts:996
↓ 1 callers
Method
#collectComputedStyles
( rules: CascadeRule[], styles: ElementCssStyles, options: CssFormatterOptions, )
src/formatters/CssFormatter.ts:1187
↓ 1 callers
Method
#collectFunctionRules
( rules: CascadeRule[], matchedStyles: MatchedStyles, )
src/formatters/CssFormatter.ts:1094
↓ 1 callers
Method
#collectKeyframes
( rules: CascadeRule[], matchedStyles: MatchedStyles, )
src/formatters/CssFormatter.ts:952
↓ 1 callers
Method
#collectNodeStyles
( rules: CascadeRule[], matchedStyles: MatchedStyles, options: CssFormatterOptions, )
src/formatters/CssFormatter.ts:726
↓ 1 callers
Method
#collectPositionTryRules
( rules: CascadeRule[], matchedStyles: MatchedStyles, )
src/formatters/CssFormatter.ts:1037
↓ 1 callers
Method
#collectPseudoList
( rules: CascadeRule[], pseudoType: string, pseudoStyles: DevTools.CSSStyleDeclaration.CSSStyleDec
src/formatters/CssFormatter.ts:911
↓ 1 callers
Method
#collectPseudoStyles
( rules: CascadeRule[], matchedStyles: MatchedStyles, options: CssFormatterOptions, )
src/formatters/CssFormatter.ts:876
↓ 1 callers
Method
#collectRegisteredProperties
( rules: CascadeRule[], matchedStyles: MatchedStyles, )
src/formatters/CssFormatter.ts:1064
↓ 1 callers
Method
#connect
()
src/BrowserManager.ts:387
↓ 1 callers
Method
#continueRequest
(request: HTTPRequest)
src/NetworkOverrideManager.ts:522
↓ 1 callers
Method
#createInheritedRule
( style: DevTools.CSSStyleDeclaration.CSSStyleDeclaration, properties: DevTools.CSSProperty.CSSPropert
src/formatters/CssFormatter.ts:835
↓ 1 callers
Method
#createMatchedRule
( rule: DevTools.CSSRule.CSSStyleRule, properties: DevTools.CSSProperty.CSSProperty[], matchedStyl
src/formatters/CssFormatter.ts:789
← previous
next →
501–600 of 1,492, ranked by callers