MCPcopy Create free account

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

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

↓ 1 callersFunctionreadBundledFiles
* Returns the non-tree-shaken input files of all bundles as paths relative to * the project root.
scripts/generate-third-party-notices.ts:128
↓ 1 callersFunctionreadContent
* Returns undefined if the file cannot be read, for example while it is being * replaced.
src/config/ConfigWatcher.ts:20
↓ 1 callersFunctionreadDevToolsThirdPartyNotice
(directory: string)
scripts/generate-third-party-notices.ts:229
↓ 1 callersFunctionreadLinuxSmaps
( pid: number, )
scripts/profile/footprint_mcp.ts:117
↓ 1 callersFunctionreadPackageNotice
(packageDir: string)
scripts/generate-third-party-notices.ts:184
↓ 1 callersFunctionreadTextareaValue
(index: number)
tests/e2e/chrome-devtools-hyphen-positionals.test.ts:75
↓ 1 callersFunctionreadViewport
()
tests/tools/lighthouse.test.ts:39
↓ 1 callersFunctionrecord
( label: string, takeSnapshot: boolean, )
scripts/profile/profile_mcp.ts:154
↓ 1 callersMethodregister
()
tests/tools/webauthn.test.ts:25
↓ 1 callersFunctionremoveConflictingGlobalDeclaration
* Removes the conflicting global HTMLElementEventMap declaration from * @paulirish/trace_engine/models/trace/ModelImpl.d.ts to avoid TS2717 error *
scripts/prepare.ts:19
↓ 1 callersMethodresetIdsForTesting
* Resets the shared id counter. For tests only, mirroring * McpContext.resetPageIdsForTesting().
src/McpWorker.ts:70
↓ 1 callersMethodresetPageIdsForTesting
()
src/McpContext.ts:467
↓ 1 callersFunctionresetUpdateCheckFlagForTesting
()
src/utils/check-for-updates.ts:23
↓ 1 callersMethodresetWorkerIdsForTesting
()
src/McpContext.ts:471
↓ 1 callersMethodresolveClassKeyFromId
(id: number)
src/processors/HeapSnapshotManager.ts:120
↓ 1 callersFunctionresolveContainerQueries
( matchedStyles: MatchedStyles, resolveUid?: UidResolver, )
src/formatters/CssFormatter.ts:1295
↓ 1 callersFunctionresolveDefaultChromePath
(buildDir)
scripts/test.js:22
↓ 1 callersMethodresolveIdFromClassKey
(classKey: string)
src/processors/HeapSnapshotManager.ts:116
↓ 1 callersFunctionresolvePageIndex
( pageIdx: number | undefined, totalPages: number, )
src/utils/pagination.ts:68
↓ 1 callersMethodresolveReqidToCdpRequestId
(reqid: number)
src/McpPage.ts:779
↓ 1 callersFunctionresolveScriptSource
( inlineSource: string | undefined, sourcePath: string | undefined, context: Context, )
src/tools/script.ts:219
↓ 1 callersMethodresolveUidToBackendNodeId
( uid: string, )
src/McpPage.ts:1288
↓ 1 callersFunctionrpc
( child: Server, msg: {method: string; params?: unknown}, )
tests/shutdown.test.ts:75
↓ 1 callersFunctionrun
(queue: TaskQueue, name: string, ms: number)
tests/utils/TaskRunner.test.ts:211
↓ 1 callersFunctionrunDepotTool
(tool: string, args: string[], options: RunOptions)
scripts/gclient-sync.ts:94
↓ 1 callersFunctionrunIteration
()
scripts/profile/profile_mcp.ts:136
↓ 1 callersFunctionrunOn
Runs `fn` as a task on `queue`.
tests/ToolHandler.test.ts:55
↓ 1 callersFunctionrunSingleScenario
( scenarioPath: string, apiKey: string, server: TestServer, modelId: string, debug: boolean, inclu
scripts/eval_gemini.ts:40
↓ 1 callersFunctionrunTelemetryTest
( killFn: (ctx: TestContext) => void, spawnOptions?: SpawnOptions, )
tests/e2e/telemetry.test.ts:287
↓ 1 callersFunctionrunTests
(attempt)
scripts/test.js:210
↓ 1 callersFunctionrunWatchdogWithout
( missing: keyof typeof REQUIRED_ARGS, )
tests/telemetry/watchdog/main.test.ts:25
↓ 1 callersFunctionrunWithRetry
(fn: () => Promise<void>)
tests/browser.test.ts:39
↓ 1 callersFunctionsafeClose
(browser: Browser)
tests/browser.test.ts:26
↓ 1 callersFunctionschemaToCLIOptions
(toolName: string, schema: JsonSchema)
scripts/generate-cli.ts:53
↓ 1 callersFunctionscriptFor
(index: number)
scripts/profile/source_map_server.ts:30
↓ 1 callersFunctionselectNativeSelectOption
( handle: ElementHandle<Element>, signal: AbortSignal, )
src/tools/input.ts:101
↓ 1 callersFunctionselectOption
( handle: ElementHandle, aXNode: TextSnapshotNode, value: string, signal: AbortSignal, )
src/tools/input.ts:292
↓ 1 callersFunctionselectedPageIdFromToolResult
(result: unknown)
scripts/profile/utils.ts:31
↓ 1 callersFunctionselfCausedError
()
tests/devtools/DevtoolsUtils.test.ts:465
↓ 1 callersMethodsetIncludeExtensionServiceWorkers
(value: boolean)
src/McpResponse.ts:209
↓ 1 callersMethodsetTabId
(tabId: string)
src/tools/ToolDefinition.ts:336
↓ 1 callersFunctionsetUpHangingInit
()
tests/McpContext.test.ts:1052
↓ 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 callersFunctionsetupMCPServer
()
src/daemon/daemon.ts:141
↓ 1 callersFunctionsetupPwaRoutes
()
tests/tools/pwa.test.ts:59
↓ 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:67
↓ 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:220
↓ 1 callersFunctionshield
(argv: string[])
tests/cli.test.ts:1624
↓ 1 callersFunctionshiftBundle
( bundle: {js: string; map: string}, extraLines: number, )
tests/LogpointManager.test.ts:68
↓ 1 callersFunctionshortCommand
(command: string)
scripts/profile/footprint_mcp.ts:262
↓ 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:218
↓ 1 callersFunctionstabilize
(c: unknown)
tests/utils.ts:410
↓ 1 callersFunctionstart
( args: string[], sessionId: string, stopExisting = false, )
src/bin/chrome-devtools.ts:50
↓ 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:273
↓ 1 callersFunctionstartSocketServer
()
src/daemon/daemon.ts:224
↓ 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 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:323
↓ 1 callersFunctionsubstitutePlaceholders
( rawMarkdown: string, substitutions?: Map<string, string>, )
src/utils/text.ts:12
↓ 1 callersFunctionsumOptional
(values: Array<number | undefined>)
scripts/profile/footprint_mcp.ts:200
↓ 1 callersFunctionsumTotals
(processes: ProcessMemory[])
scripts/profile/footprint_mcp.ts:211
↓ 1 callersMethodsyncNetworkRestrictions
* Applies updated URL allowlist/blocklist rules to the connected browser and * clears incompatible page network throttling state.
src/McpContext.ts:260
↓ 1 callersMethodsyncSourceMaps
* Synchronizes the DevTools source maps setting across all pages.
src/McpContext.ts:278
↓ 1 callersMethodsyncSourceMaps
()
src/McpPage.ts:436
↓ 1 callersFunctionsynthesizeRuleTypes
( options: MockRuleOptions, )
tests/mocks.ts:770
↓ 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:1589
↓ 1 callersFunctiontestIncludesWebmcpTools
( t: it.TestContext, parseArguments: Partial<ParsedArguments>, handlerAction: ( response: Mc
tests/McpResponse.test.ts:1706
↓ 1 callersFunctiontoAuditNode
(value: Record<string, unknown>)
src/tools/lighthouse.ts:59
↓ 1 callersFunctiontoFrames
( callFrames: StackTraceLike['callFrames'], )
src/devtools/DevtoolsUtils.ts:268
↓ 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:92
↓ 1 callersMethodtoJSON
()
src/formatters/WebAuthnFormatter.ts:43
↓ 1 callersMethodtoJSON
()
src/formatters/ConsoleFormatter.ts:367
↓ 1 callersMethodtoJSON
()
src/formatters/NetworkOverridesFormatter.ts:18
↓ 1 callersMethodtoJSONDetailed
()
src/formatters/NetworkFormatter.ts:216
← previousnext →1,001–1,100 of 1,492, ranked by callers