MCPcopy Create free account

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

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

↓ 1 callersMethodsetTabId
(tabId: string)
src/tools/ToolDefinition.ts:336
↓ 1 callersFunctionsetUpHangingInit
()
tests/McpContext.test.ts:1096
↓ 1 callersMethodsetUpNetworkCollectorForTesting
* We need to ignore favicon request as they make our test flaky
src/McpPage.ts:1719
↓ 1 callersFunctionsetupBlockedPageFixture
* Serves `/allowed.html` and `/blocked.html` and records the request paths * the server actually received, so a test can tell "blocked" apart from *
tests/network_blocking.test.ts:71
↓ 1 callersFunctionsetupBundleRoutes
()
tests/LogpointManager.test.ts:353
↓ 1 callersFunctionsetupDeadlineTest
(runtimeDir: string)
tests/daemon/client.test.ts:450
↓ 1 callersFunctionsetupMCPServer
()
src/daemon/daemon.ts:122
↓ 1 callersFunctionsetupPwaRoutes
()
tests/tools/pwa.test.ts:70
↓ 1 callersFunctionsetupRoutes
()
tests/LogpointManager.test.ts:346
↓ 1 callersFunctionsetupServerWithRetry
()
tests/shutdown.test.ts:153
↓ 1 callersFunctionsetupServiceWorkerFixture
* Serves a service worker that forwards `/blocked/*` requests from controlled * pages and fetches `/blocked/swdata.json` on its own during `install`.
tests/network_blocking.test.ts:27
↓ 1 callersFunctionsetupStopDaemonSignalFailure
(runtimeDir: string)
tests/daemon/client.test.ts:70
↓ 1 callersFunctionsetupThirdPartyDeveloperTools
( response: McpResponse, context: McpContext, args: ParsedArguments, evaluateFn: () =>
tests/tools/thirdPartyDeveloper.test.ts:300
↓ 1 callersFunctionsetupWebMcpTool
(page: McpPage)
tests/tools/webmcp.test.ts:56
↓ 1 callersFunctionshield
(token: string)
src/config/cli-commands.ts:259
↓ 1 callersFunctionshield
(argv: string[])
tests/cli.test.ts:1881
↓ 1 callersFunctionshiftBundle
( bundle: {js: string; map: string}, extraLines: number, )
tests/LogpointManager.test.ts:68
↓ 1 callersFunctionshortCommand
(command: string)
scripts/profile/footprint_mcp.ts:263
↓ 1 callersFunctionshouldLogDailyActive
(state: LocalState)
src/telemetry/ClearcutLogger.ts:63
↓ 1 callersFunctionshouldValidateFile
( option: FileVerificationOption | undefined, isLocal: boolean, )
src/ToolHandler.ts:172
↓ 1 callersFunctionshutdown
(reason: string)
src/bin/chrome-devtools-mcp-main.ts:52
↓ 1 callersMethodsignIn
()
tests/tools/webauthn.test.ts:26
↓ 1 callersFunctionskipValue
* Scans past a complete JSON value starting at the specified buffer position. * Skips strings, compound objects, arrays, and primitive values without
src/processors/ChunkedTraceParser.ts:129
↓ 1 callersFunctionsourceMapFor
(index: number, sizeBytes = 1_000_000)
scripts/profile/source_map_server.ts:14
↓ 1 callersFunctionspawnServer
()
tests/shutdown.test.ts:25
↓ 1 callersMethodsplitAfterNavigation
()
src/collectors/PageCollector.ts:222
↓ 1 callersFunctionstabilize
(c: unknown)
tests/utils.ts:410
↓ 1 callersFunctionstart
( args: string[], sessionId: string, stopExisting = false, )
src/daemon/chrome-devtools-cli.ts:85
↓ 1 callersFunctionstart
Acquires `queue` and holds it until `finish()` is called.
tests/utils/TaskRunner.test.ts:27
↓ 1 callersFunctionstartMockClearcutServer
* Accepts telemetry uploads so that the default configuration never sends * data off the machine.
scripts/profile/footprint_mcp.ts:274
↓ 1 callersFunctionstartMockResultSink
()
tests/resultsink-reporter.test.ts:87
↓ 1 callersFunctionstartSocketServer
()
src/daemon/daemon.ts:225
↓ 1 callersFunctionstartSourceMapTestServer
( scriptCount = 100, )
scripts/profile/source_map_server.ts:43
↓ 1 callersFunctionstartWatcher
( watchedPath: string, onChange: (content: string) => Promise<void> = sinon.stub().resolves(), )
tests/config/ConfigWatcher.test.ts:69
↓ 1 callersFunctionstartWithIdleTimeout
( sessionId: string, idleTimeout: string, )
tests/e2e/chrome-devtools-idle-timeout.test.ts:39
↓ 1 callersMethodstopForTesting
()
src/telemetry/watchdog/ClearcutSender.ts:263
↓ 1 callersFunctionstopTracingAndAppendOutput
( page: ContextPage, response: Response, context: Context, filePath?: string, )
src/tools/performance.ts:251
↓ 1 callersFunctionstripWhitespace
(text: string)
src/formatters/SnapshotFormatter.ts:209
↓ 1 callersFunctionstubMissingPaths
(...missingPaths: string[])
tests/roots.test.ts:164
↓ 1 callersMethodsubscribe
()
src/collectors/ServiceWorkerCollector.ts:52
↓ 1 callersMethodsubscribe
()
src/collectors/PageCollector.ts:346
↓ 1 callersFunctionsubstitutePlaceholders
( rawMarkdown: string, substitutions?: Map<string, string>, )
src/utils/text.ts:12
↓ 1 callersFunctionsumOptional
(values: Array<number | undefined>)
scripts/profile/footprint_mcp.ts:201
↓ 1 callersFunctionsumTotals
(processes: ProcessMemory[])
scripts/profile/footprint_mcp.ts:212
↓ 1 callersMethodsummarizeDuplicateStrings
( groups: readonly DuplicateStringGroup[], maxNodeIds: number = DEFAULT_MAX_NODE_IDS, )
src/formatters/HeapSnapshotFormatter.ts:208
↓ 1 callersMethodsyncNetworkRestrictions
* Applies updated URL allowlist/blocklist rules to the connected browser and * clears incompatible page network throttling state.
src/McpContext.ts:268
↓ 1 callersMethodsyncSourceMaps
* Synchronizes the DevTools source maps setting across all pages.
src/McpContext.ts:286
↓ 1 callersMethodsyncSourceMaps
()
src/McpPage.ts:436
↓ 1 callersFunctionsynthesizeRuleTypes
( options: MockRuleOptions, )
tests/mocks.ts:777
↓ 1 callersMethodtakeHeapSnapshot
(filePath: string)
scripts/profile/inspector.ts:114
↓ 1 callersMethodtarget
()
tests/mocks.ts:235
↓ 1 callersFunctiontargetInfo
(url: string, title: string)
tests/McpPage.test.ts:739
↓ 1 callersFunctiontestIncludesThirdPartyDeveloperTools
( handlerAction: ( response: McpResponse, context: McpContext, args: ParsedArguments,
tests/McpResponse.test.ts:1629
↓ 1 callersFunctiontestIncludesWebmcpTools
( t: it.TestContext, parseArguments: Partial<ParsedArguments>, handlerAction: ( response: Mc
tests/McpResponse.test.ts:1746
↓ 1 callersFunctiontoAsyncIterable
( events: TestEvent[], )
tests/resultsink-reporter.test.ts:33
↓ 1 callersFunctiontoAuditNode
(value: Record<string, unknown>)
src/tools/lighthouse.ts:59
↓ 1 callersFunctiontoFrames
( callFrames: StackTraceLike['callFrames'], )
src/devtools/DevtoolsUtils.ts:266
↓ 1 callersFunctiontoIndex
(name: string)
src/formatters/RemoteObjectFormatter.ts:117
↓ 1 callersFunctiontoInputJsonSchema
(schema: zod.ZodType)
src/ToolHandler.ts:228
↓ 1 callersMethodtoJSON
()
src/formatters/IssueFormatter.ts:62
↓ 1 callersMethodtoJSON
()
src/formatters/CommentFormatter.ts:99
↓ 1 callersMethodtoJSON
()
src/formatters/WebAuthnFormatter.ts:43
↓ 1 callersMethodtoJSON
()
src/formatters/ConsoleFormatter.ts:400
↓ 1 callersMethodtoJSON
()
src/formatters/NetworkOverridesFormatter.ts:18
↓ 1 callersMethodtoJSONDetailed
()
src/formatters/NetworkFormatter.ts:216
↓ 1 callersMethodtoJSONDetailed
()
src/formatters/ConsoleFormatter.ts:362
↓ 1 callersFunctiontoOptionKind
( type: string | undefined, choices?: ReadonlyArray<string | number>, )
src/config/cli-commands.ts:147
↓ 1 callersMethodtoString
()
src/formatters/SnapshotFormatter.ts:18
↓ 1 callersMethodtoString
()
src/formatters/LogpointFormatter.ts:86
↓ 1 callersMethodtoString
()
src/formatters/WebAuthnFormatter.ts:59
↓ 1 callersMethodtoString
()
src/formatters/ConsoleFormatter.ts:270
↓ 1 callersFunctiontoUrlHostname
* Serializes a host name or IP address the way `URL#hostname` does, or returns * undefined if it is not a valid host.
src/utils/url.ts:73
↓ 1 callersFunctiontoUserCondition
(expression: string)
src/LogpointManager.ts:53
↓ 1 callersFunctiontoYargsScalarType
Maps a non-array JSON Schema type to the yargs type that parses it.
src/config/cli-commands.ts:45
↓ 1 callersFunctiontoolShouldBeSkipped
( tool: ToolDefinition, filteredOutCategories: ToolCategory[], )
tests/McpServer.test.ts:1520
↓ 1 callersFunctiontrackResponseLines
( response: ReturnType<typeof createHandlerMocks>['response'], )
tests/tools/comments.test.ts:22
↓ 1 callersFunctiontransformArgType
(zodType: ZodType)
src/telemetry/transformation.ts:179
↓ 1 callersFunctiontransformDevToolsData
(devToolsData: DevToolsData)
src/telemetry/transformation.ts:266
↓ 1 callersFunctiontransformValue
( zodType: ZodType, value: unknown, )
src/telemetry/transformation.ts:208
↓ 1 callersFunctiontransient
(code = 'ECONNREFUSED')
tests/browser.test.ts:271
↓ 1 callersFunctiontranspileDevTs
()
tests/LogpointManager.test.ts:98
↓ 1 callersFunctiontranspileTsBundle
()
tests/LogpointManager.test.ts:51
↓ 1 callersFunctionuidsFromSnapshotResult
(result: unknown)
scripts/profile/utils.ts:69
↓ 1 callersMethoduninstallPWA
(options: UninstallPWAOptions)
src/McpContext.ts:661
↓ 1 callersMethodunsubscribe
()
src/collectors/PageCollector.ts:354
↓ 1 callersFunctionunwrapViewSource
* Unwraps nested `view-source:` prefixes so every scheme check below runs * against the URL Chrome will actually resolve and load — not the * wrappe
src/utils/url.ts:299
↓ 1 callersFunctionupdateConfig
( config: ServerConfig, context: McpContext, next: Partial<ServerConfig['resolved']>, )
tests/McpContext.test.ts:671
↓ 1 callersFunctionupdateConfigurationWithOptionsMarkdown
(optionsMarkdown: string)
scripts/generate-docs.ts:166
↓ 1 callersFunctionutf8ExpectedByteCount
(leadByte: number)
src/utils/text.ts:60
↓ 1 callersFunctionvalidateAndResolvePathOrUrl
( filePathOrUrl: string, context: McpContext, allowUrl: boolean, )
src/ToolHandler.ts:123
↓ 1 callersFunctionvalidateErrorCodes
()
scripts/update_metrics.ts:104
↓ 1 callersFunctionvalidatePwaUrl
(url: string, args: ParsedArguments)
src/tools/pwa.ts:14
↓ 1 callersFunctionverifyDaemonVersion
( sessionId: string, cliVersion: string, )
src/daemon/client.ts:327
↓ 1 callersFunctionverifyPackageContents
()
scripts/verify-npm-package.js:10
↓ 1 callersFunctionviewportTransform
(arg: string | undefined)
src/tools/ToolDefinition.ts:803
↓ 1 callersFunctionwaitForCall
(stub: sinon.SinonStub)
tests/config/ConfigWatcher.test.ts:26
↓ 1 callersFunctionwaitForDaemonReady
( sessionId: string, getStartupError?: () => Error | undefined, )
src/daemon/client.ts:98
↓ 1 callersFunctionwaitForEventsAfterRawInput
* Runs raw mouse or keyboard input. Unlike locator actions, these CDP calls * take no AbortSignal and do not return while a JavaScript dialog is open
src/tools/input.ts:84
↓ 1 callersFunctionwaitForExit
(pids: number[], timeoutMs: number)
scripts/profile/footprint_mcp.ts:311
↓ 1 callersFunctionwaitForExit
( child: Server, timeoutMs: number, )
tests/shutdown.test.ts:54
← previousnext →1,101–1,200 of 1,581, ranked by callers