MCPcopy Create free account

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

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

↓ 1 callersFunctionnotify
(child: Server, msg: {method: string; params?: unknown})
tests/shutdown.test.ts:126
↓ 1 callersFunctionnumber
(value: string)
tests/formatters/RemoteObjectFormatter.test.ts:39
↓ 1 callersFunctiononAbort
()
src/utils/raceWithSignal.ts:12
↓ 1 callersFunctiononParentDeath
(reason: string)
src/telemetry/watchdog/main.ts:125
↓ 1 callersFunctionoptionName
(token: string)
src/config/cli-commands.ts:97
↓ 1 callersFunctionparseConfig
(argv: string[], env: NodeJS.ProcessEnv = {})
tests/cli.test.ts:33
↓ 1 callersFunctionparseConfig
(argv: string[] = [])
tests/McpServer.test.ts:52
↓ 1 callersFunctionparseConfig
(argv: string[] = [], env: NodeJS.ProcessEnv = {})
tests/config/ServerConfig.test.ts:23
↓ 1 callersFunctionparseDefaultArgs
(options: McpOptions)
src/config/ServerConfig.ts:69
↓ 1 callersFunctionparseEventsArray
* Scans trace events from a JSON array in bounded batches to limit memory consumption. * * @param buffer The raw byte buffer containing the events a
src/processors/ChunkedTraceParser.ts:203
↓ 1 callersFunctionparseKey
(keyInput: string)
src/utils/keyboard.ts:289
↓ 1 callersFunctionparseLogpoint
(text: string)
src/LogpointManager.ts:96
↓ 1 callersFunctionparseNonNegativeInteger
( value: string | undefined, name: string, )
scripts/profile/utils.ts:17
↓ 1 callersFunctionparseReadmeChromium
(directory: string)
scripts/generate-third-party-notices.ts:162
↓ 1 callersFunctionparseTrace
(fileName: string)
tests/tools/performance.test.ts:327
↓ 1 callersFunctionparseWatchdogArgs
()
src/telemetry/watchdog/main.ts:29
↓ 1 callersFunctionparseWebDevTrace
* Parses the web.dev trace fixture one time for this file. A parse takes * about 0.8 s of CPU time, and the tests only read the result.
tests/McpResponse.test.ts:83
↓ 1 callersFunctionperformEvaluation
( evaluatable: Evaluatable, source: string, format: 'function' | 'script', args: Array<JSHandle<unknow
src/tools/script.ts:251
↓ 1 callersFunctionpngHeight
* Reads the pixel height from a PNG buffer's IHDR chunk (bytes 20..23).
tests/tools/screenshot.test.ts:35
↓ 1 callersFunctionpngWidth
* Reads the pixel width from a PNG buffer's IHDR chunk (bytes 16..19).
tests/tools/screenshot.test.ts:28
↓ 1 callersFunctionpopulateCruxData
We tell CrUXManager to fetch data so it's available when DevTools.PerformanceTraceFormatter is invoked
src/tools/performance.ts:307
↓ 1 callersFunctionprependToPath
(env: NodeJS.ProcessEnv, dir: string)
scripts/gclient-sync.ts:65
↓ 1 callersFunctionpreview
( subtype: Protocol.Runtime.ObjectPreview['subtype'], description: string, properties: Protocol.Runtime.
tests/formatters/RemoteObjectFormatter.test.ts:13
↓ 1 callersFunctionprofileScenario
( scenarioEntry: ScenarioEntry, scenarioArgs: ScenarioArgs, options: ProfileOptions, rootDir: string,
scripts/profile/profile_mcp.ts:97
↓ 1 callersFunctionpuppeteerLogger
(prefix: string)
src/utils/logger.ts:144
↓ 1 callersMethodqueryHeapSnapshotObjects
( filePath: string, options: HeapQueryOptions, )
src/McpContext.ts:1128
↓ 1 callersFunctionreadBundledFiles
Returns the files of all bundles as paths relative to the project root.
scripts/generate-third-party-notices.ts:98
↓ 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:182
↓ 1 callersFunctionreadPackageNotice
(packageDir: string)
scripts/generate-third-party-notices.ts:137
↓ 1 callersFunctionreadTextareaValue
(index: number)
tests/e2e/chrome-devtools-hyphen-positionals.test.ts:74
↓ 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:463
↓ 1 callersFunctionresetUpdateCheckFlagForTesting
()
src/utils/check-for-updates.ts:23
↓ 1 callersMethodresetWorkerIdsForTesting
()
src/McpContext.ts:467
↓ 1 callersMethodresolveClassKeyFromId
(id: number)
src/processors/HeapSnapshotManager.ts:119
↓ 1 callersFunctionresolveContainerQueries
( matchedStyles: MatchedStyles, resolveUid?: UidResolver, )
src/formatters/CssFormatter.ts:1192
↓ 1 callersMethodresolveIdFromClassKey
(classKey: string)
src/processors/HeapSnapshotManager.ts:115
↓ 1 callersFunctionresolvePageIndex
( pageIdx: number | undefined, totalPages: number, )
src/utils/pagination.ts:68
↓ 1 callersMethodresolveReqidToCdpRequestId
(reqid: number)
src/McpPage.ts:777
↓ 1 callersFunctionresolveScriptSource
( inlineSource: string | undefined, sourcePath: string | undefined, context: Context, )
src/tools/script.ts:222
↓ 1 callersMethodresolveUidToBackendNodeId
( uid: string, )
src/McpPage.ts:1273
↓ 1 callersFunctionrestore
(value: unknown)
src/config/cli-commands.ts:209
↓ 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:54
↓ 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:164
↓ 1 callersFunctionrunTests
(attempt)
scripts/test.js:116
↓ 1 callersFunctionrunWithRetry
(fn: () => Promise<void>)
tests/browser.test.ts:38
↓ 1 callersFunctionsafeClose
(browser: Browser)
tests/browser.test.ts:25
↓ 1 callersFunctionschemaToCLIOptions
(toolName: string, schema: JsonSchema)
scripts/generate-cli.ts:55
↓ 1 callersFunctionscriptFor
(index: number)
scripts/profile/source_map_server.ts:30
↓ 1 callersFunctionselectNativeSelectOption
( handle: ElementHandle<Element>, signal: AbortSignal, )
src/tools/input.ts:81
↓ 1 callersFunctionselectOption
( handle: ElementHandle, aXNode: TextSnapshotNode, value: string, signal: AbortSignal, )
src/tools/input.ts:264
↓ 1 callersFunctionselectedPageIdFromToolResult
(result: unknown)
scripts/profile/utils.ts:31
↓ 1 callersFunctionselfCausedError
()
tests/devtools/DevtoolsUtils.test.ts:406
↓ 1 callersMethodsetIncludeExtensionServiceWorkers
(value: boolean)
src/McpResponse.ts:200
↓ 1 callersMethodsetTabId
(tabId: string)
src/tools/ToolDefinition.ts:324
↓ 1 callersFunctionsetUpHangingInit
()
tests/McpContext.test.ts:942
↓ 1 callersMethodsetUpNetworkCollectorForTesting
* We need to ignore favicon request as they make our test flaky
src/McpPage.ts:1696
↓ 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:352
↓ 1 callersFunctionsetupMCPServer
()
src/daemon/daemon.ts:141
↓ 1 callersFunctionsetupPwaRoutes
()
tests/tools/pwa.test.ts:59
↓ 1 callersFunctionsetupRoutes
()
tests/LogpointManager.test.ts:345
↓ 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 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:143
↓ 1 callersFunctionshield
(argv: string[])
tests/cli.test.ts:1426
↓ 1 callersFunctionshiftBundle
( bundle: {js: string; map: string}, extraLines: number, )
tests/LogpointManager.test.ts:67
↓ 1 callersFunctionshouldLogDailyActive
(state: LocalState)
src/telemetry/ClearcutLogger.ts:57
↓ 1 callersFunctionshouldValidateFile
( option: FileVerificationOption | undefined, isLocal: boolean, )
src/ToolHandler.ts:147
↓ 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:173
↓ 1 callersFunctionstabilize
(c: unknown)
tests/utils.ts:380
↓ 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 callersFunctionstartMockServer
()
tests/e2e/telemetry.test.ts:31
↓ 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:246
↓ 1 callersFunctionstopTracingAndAppendOutput
( page: ContextPage, response: Response, context: Context, filePath?: string, )
src/tools/performance.ts:255
↓ 1 callersFunctionstripWhitespace
(text: string)
src/formatters/SnapshotFormatter.ts:209
↓ 1 callersFunctionstubMissingPaths
(...missingPaths: string[])
tests/roots.test.ts:164
↓ 1 callersMethodsubscribe
()
src/collectors/ServiceWorkerCollector.ts:39
↓ 1 callersMethodsubscribe
()
src/collectors/PageCollector.ts:284
← previousnext →901–1,000 of 1,397, ranked by callers