MCPcopy Create free account

hub / github.com/ChromeDevTools/chrome-devtools-mcp / functions

Functions1,397 in github.com/ChromeDevTools/chrome-devtools-mcp

↓ 3 callersFunctionfetchWithValidatedRedirects
( url: URL, options: { policy: UrlAccessPolicy; method?: 'GET' | 'HEAD'; headers?: Record<stri
src/utils/network.ts:70
↓ 3 callersMethodformat
( context: McpContext, data: { detailedConsoleMessage: ConsoleFormatter | IssueFormatter | undef
src/McpResponse.ts:866
↓ 3 callersFunctionformatStackTrace
( stackTrace: DevTools.DevTools.StackTrace.StackTrace.StackTrace, cause: SymbolizedError | undefined, fo
src/formatters/ConsoleFormatter.ts:416
↓ 3 callersMethodgetAggregates
( filePath: string, filterName?: string, objectId?: number, )
src/processors/HeapSnapshotManager.ts:205
↓ 3 callersFunctiongetCSSStyleRuleMetadata
* Extracts common metadata (`ancestors`, `matchingSelectors`, `source`) * uniformly across matched rules, inherited rules, and pseudo-element rules.
src/formatters/CssFormatter.ts:439
↓ 3 callersMethodgetClassDiffs
( baseFilePath: string, currentFilePath: string, )
src/processors/HeapSnapshotManager.ts:384
↓ 3 callersMethodgetConsoleData
( includePreservedMessages?: boolean, )
src/McpPage.ts:846
↓ 3 callersMethodgetDetailedClassDiff
( baseFilePath: string, currentFilePath: string, classIndex: number, )
src/processors/HeapSnapshotManager.ts:413
↓ 3 callersMethodgetMatchedStylesForUid
(uid: string)
src/McpPage.ts:1296
↓ 3 callersFunctiongetMockAggregatedIssue
()
tests/utils.ts:441
↓ 3 callersMethodgetNodesById
( filePath: string, id: number, filterName?: string, objectId?: number, )
src/processors/HeapSnapshotManager.ts:277
↓ 3 callersMethodgetRestartRequiredChanges
* Returns the restart-required options whose resolved values differ between * this config and `next`.
src/config/ServerConfig.ts:320
↓ 3 callersFunctiongetRuntimeHome
(sessionId: string)
src/daemon/utils.ts:50
↓ 3 callersFunctiongetSocketPath
(sessionId: string)
src/daemon/utils.ts:34
↓ 3 callersMethodgetWebMcpTools
()
src/McpPage.ts:755
↓ 3 callersMethodhasSnapshots
()
src/processors/HeapSnapshotManager.ts:544
↓ 3 callersMethodindent
()
src/formatters/CssFormatter.ts:213
↓ 3 callersMethodinit
(workers: McpWorker[])
src/collectors/ServiceWorkerCollector.ts:89
↓ 3 callersMethodinstallExtension
(extensionPath: string)
src/McpContext.ts:1069
↓ 3 callersFunctionisLocalhost
(url?: string)
src/utils/url.ts:21
↓ 3 callersFunctionisMcpOptionKey
(key: string)
src/config/ServerConfig.ts:23
↓ 3 callersMethodisPageSelected
(page: McpPage)
src/McpContext.ts:778
↓ 3 callersMethodisRunningPerformanceTrace
()
src/McpPage.ts:619
↓ 3 callersMethodisValid
()
src/formatters/IssueFormatter.ts:156
↓ 3 callersMethodloadResource
(path: string)
src/McpContext.ts:1235
↓ 3 callersMethodlogDailyActiveIfNeeded
()
src/telemetry/ClearcutLogger.ts:236
↓ 3 callersMethodlogServerError
(args: { errorCode: ErrorCode; toolName?: string; })
src/telemetry/ClearcutLogger.ts:260
↓ 3 callersMethodlogServerStart
(flagUsage: FlagUsage)
src/telemetry/ClearcutLogger.ts:225
↓ 3 callersMethodmakeTargetFilter
(enableExtensions = false)
src/BrowserManager.ts:57
↓ 3 callersMethodmergeReloadable
* Produces a new {@link ServerConfig} that takes reloadable options from * `next` and keeps restart-required options from this config, preserving
src/config/ServerConfig.ts:301
↓ 3 callersMethodopenDevTools
* 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:831
↓ 3 callersMethodpageTaskQueue
* The queue for tasks on page `pageId`. The queue exists before the page * does, so a tool call can enter it before the browser connects. It is a
src/McpContext.ts:761
↓ 3 callersMethodparseCliArgs
* 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 callersMethodparseConfigFile
* 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 callersFunctionreadText
(filePath: string)
scripts/generate-third-party-notices.ts:71
↓ 3 callersMethodrecordedTraces
()
src/McpContext.ts:1065
↓ 3 callersMethodreset
()
tests/server.ts:86
↓ 3 callersMethodsaveState
(state: LocalState)
src/telemetry/persistence.ts:60
↓ 3 callersMethodsaveTemporaryFile
( data: Uint8Array<ArrayBufferLike>, filename: string, )
src/McpContext.ts:1037
↓ 3 callersMethodsetClientName
(clientName: string)
src/telemetry/ClearcutLogger.ts:137
↓ 3 callersMethodsetIncludeNetworkRequests
( value: boolean, options?: PaginationOptions & { resourceTypes?: string[]; includePreserv
src/tools/ToolDefinition.ts:291
↓ 3 callersMethodsetListThirdPartyDeveloperTools
()
src/tools/ToolDefinition.ts:333
↓ 3 callersMethodsetListWebMcpTools
()
src/tools/ToolDefinition.ts:334
↓ 3 callersMethodsetLogpoints
* 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:456
↓ 3 callersFunctionsetupUnhandledRejectionHandler
(onCrash: () => void)
src/utils/errorHandling.ts:18
↓ 3 callersFunctionshieldLiteralArgs
( argv: readonly string[], getSpec: (commandName: string) => CommandArgSpec | undefined, )
src/config/cli-commands.ts:134
↓ 3 callersFunctionskipString
* 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 callersMethodstart
* Starts watching the config file. Throws if `configPath` does not exist.
src/config/ConfigWatcher.ts:63
↓ 3 callersMethodstart
()
tests/server.ts:90
↓ 3 callersFunctionstartDaemon
( mcpArgs: string[] = [], sessionId: string, )
src/daemon/client.ts:113
↓ 3 callersFunctionstripUndefined
(options: T)
tests/mocks.ts:1341
↓ 3 callersFunctionstripYargsPositionalArgs
( parsed: T, )
src/config/mcp-options.ts:459
↓ 3 callersFunctionstubEventEmitter
* Wires a Sinon-stubbed Puppeteer EventEmitter subclass to a real Puppeteer * `EventEmitter` instance (`sinon.createStubInstance` skips constructors,
tests/mocks.ts:177
↓ 3 callersFunctiontransformArgName
(zodType: ZodType, name: string)
src/telemetry/transformation.ts:163
↓ 3 callersFunctiontruncateUrl
(url: string)
src/utils/text.ts:63
↓ 3 callersFunctionvalidateNetworkUrl
(url: URL, policy: UrlAccessPolicy)
src/utils/network.ts:55
↓ 3 callersFunctionvalidateUrl
(url: string, options: ValidateUrlOptions)
src/utils/url.ts:281
↓ 3 callersFunctionvalidateUrlPatterns
( patterns: string[], flagName: string, )
src/utils/url.ts:195
↓ 3 callersFunctionwait
(ms: number)
tests/config/ConfigWatcher.test.ts:22
↓ 3 callersFunctionwaitExecutionFor
( func: () => Promise<void>, timeout: number, )
tests/utils.ts:535
↓ 3 callersFunctionwaitFor
( check: () => boolean, timeoutMessage: string, )
src/daemon/client.ts:44
↓ 3 callersMethodwaitForTextOnPage
( text: string[], options: {timeout?: number; visible?: boolean} = {}, )
src/McpPage.ts:1606
↓ 3 callersFunctionwithBrowser
( cb: (browser: Browser, page: Page) => Promise<void>, options: { debug?: boolean; autoOpenDevTool
tests/utils.ts:95
↓ 3 callersFunctionwithoutDefaults
( options: Record<string, YargsOptions>, )
src/config/mcp-options.ts:444
↓ 2 callersMethod#activate
()
src/NetworkOverrideManager.ts:305
↓ 2 callersMethod#applyConfigLocked
(nextConfig: ServerConfig)
src/index.ts:198
↓ 2 callersMethod#applyNodeFilter
( snapshot: DevTools.HeapSnapshotModel.HeapSnapshotProxy.HeapSnapshotProxy, filter: DevTools.HeapSnaps
src/processors/HeapSnapshotManager.ts:183
↓ 2 callersMethod#attachFrameNavigatedWithinDocumentListener
()
src/collectors/PageCollector.ts:350
↓ 2 callersMethod#cancelEntry
(entry: Entry, reason: unknown)
src/utils/TaskRunner.ts:143
↓ 2 callersMethod#closeBrowser
()
src/BrowserManager.ts:548
↓ 2 callersMethod#closeLaunchedBrowser
(browser: Browser)
src/BrowserManager.ts:527
↓ 2 callersMethod#dataFormat
(serverArgs: ParsedArguments)
src/ToolHandler.ts:348
↓ 2 callersMethod#detachFrameNavigatedWithinDocumentListener
()
src/collectors/PageCollector.ts:163
↓ 2 callersMethod#detachFrameNavigatedWithinDocumentListener
()
src/collectors/PageCollector.ts:359
↓ 2 callersMethod#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:519
↓ 2 callersMethod#fromDetails
( opts: Parameters<typeof SymbolizedError.fromDetails>[0], causeDepth: number, )
src/devtools/DevtoolsUtils.ts:275
↓ 2 callersMethod#fromError
( opts: Parameters<typeof SymbolizedError.fromError>[0], causeDepth: number, )
src/devtools/DevtoolsUtils.ts:343
↓ 2 callersMethod#getAttributesMap
( node: TextSnapshotNode, excludeSpecial = false, )
src/formatters/SnapshotFormatter.ts:142
↓ 2 callersMethod#getMessageFromException
(error: RemoteObjectLike)
src/devtools/DevtoolsUtils.ts:392
↓ 2 callersMethod#getNetworkOverrideManagerForChanges
()
src/McpPage.ts:954
↓ 2 callersMethod#getNodeStyleSelector
( style: DevTools.CSSStyleDeclaration.CSSStyleDeclaration, matchedStyles?: MatchedStyles, )
src/formatters/CssFormatter.ts:787
↓ 2 callersMethod#getParsedDescription
()
src/formatters/IssueFormatter.ts:160
↓ 2 callersMethod#getSortedRawClassDiffs
( baseFilePath: string, currentFilePath: string, )
src/processors/HeapSnapshotManager.ts:445
↓ 2 callersMethod#leave
(entry: Entry)
src/utils/TaskRunner.ts:170
↓ 2 callersMethod#notifyCommentWaiters
(changed: boolean)
src/devtools/DevToolsCommentBridge.ts:145
↓ 2 callersMethod#pageSourceCodes
The scripts and source-map sources of the page in the workspace.
src/LogpointManager.ts:389
↓ 2 callersMethod#readResponseBody
(httpResponse: HTTPResponse)
src/formatters/NetworkFormatter.ts:298
↓ 2 callersMethod#resetBrowserState
()
src/McpContext.ts:402
↓ 2 callersMethod#resetIssueAggregator
()
src/collectors/PageCollector.ts:269
↓ 2 callersMethod#resolveConfig
(cliArgs: Partial<ParsedArguments>)
src/config/ConfigParser.ts:184
↓ 2 callersMethod#schedule
()
src/utils/TaskRunner.ts:179
↓ 2 callersMethod#scheduleFlush
(delayMs: number)
src/telemetry/watchdog/ClearcutSender.ts:170
↓ 2 callersMethod#scheduleTask
( queue: TaskQueue, priority: Priority = 'normal', signal?: AbortSignal, )
src/utils/TaskRunner.ts:114
↓ 2 callersMethod#selectPage
(newPage: McpPage)
src/McpContext.ts:788
↓ 2 callersMethod#sendBatch
(events: BufferedEvent[])
src/telemetry/watchdog/ClearcutSender.ts:182
↓ 2 callersMethod#updateRoots
* `timeout` is only passed where a tool call is waiting on the result – the * background refreshes (on initialization and `roots/list_changed`) blo
src/index.ts:360
↓ 2 callersMethod#updateStatus
(tool: AnyToolDefinition)
src/ToolHandler.ts:275
↓ 2 callersMethod#writeFile
( filepath: string, data: Uint8Array<ArrayBufferLike>, )
src/McpContext.ts:1008
↓ 2 callersMethodabandonPendingAttempt
* Signals that whoever was waiting on the in-flight ensureBrowser() call * has given up (e.g. a tool-call timeout). There's no way to cancel a *
src/BrowserManager.ts:219
↓ 2 callersMethodaddLog
(extensionId: string, log: ConsoleMessage | UncaughtError)
src/collectors/ServiceWorkerCollector.ts:163
← previousnext →201–300 of 1,397, ranked by callers