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
↓ 1 callers
Function
readBundledFiles
* 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 callers
Function
readContent
* Returns undefined if the file cannot be read, for example while it is being * replaced.
src/config/ConfigWatcher.ts:20
↓ 1 callers
Function
readDevToolsThirdPartyNotice
(directory: string)
scripts/generate-third-party-notices.ts:229
↓ 1 callers
Function
readLinuxSmaps
( pid: number, )
scripts/profile/footprint_mcp.ts:117
↓ 1 callers
Function
readPackageNotice
(packageDir: string)
scripts/generate-third-party-notices.ts:184
↓ 1 callers
Function
readTextareaValue
(index: number)
tests/e2e/chrome-devtools-hyphen-positionals.test.ts:75
↓ 1 callers
Function
readViewport
()
tests/tools/lighthouse.test.ts:39
↓ 1 callers
Function
record
( label: string, takeSnapshot: boolean, )
scripts/profile/profile_mcp.ts:154
↓ 1 callers
Method
register
()
tests/tools/webauthn.test.ts:25
↓ 1 callers
Function
removeConflictingGlobalDeclaration
* Removes the conflicting global HTMLElementEventMap declaration from * @paulirish/trace_engine/models/trace/ModelImpl.d.ts to avoid TS2717 error *
scripts/prepare.ts:19
↓ 1 callers
Method
resetIdsForTesting
* Resets the shared id counter. For tests only, mirroring * McpContext.resetPageIdsForTesting().
src/McpWorker.ts:70
↓ 1 callers
Method
resetPageIdsForTesting
()
src/McpContext.ts:467
↓ 1 callers
Function
resetUpdateCheckFlagForTesting
()
src/utils/check-for-updates.ts:23
↓ 1 callers
Method
resetWorkerIdsForTesting
()
src/McpContext.ts:471
↓ 1 callers
Method
resolveClassKeyFromId
(id: number)
src/processors/HeapSnapshotManager.ts:120
↓ 1 callers
Function
resolveContainerQueries
( matchedStyles: MatchedStyles, resolveUid?: UidResolver, )
src/formatters/CssFormatter.ts:1295
↓ 1 callers
Function
resolveDefaultChromePath
(buildDir)
scripts/test.js:22
↓ 1 callers
Method
resolveIdFromClassKey
(classKey: string)
src/processors/HeapSnapshotManager.ts:116
↓ 1 callers
Function
resolvePageIndex
( pageIdx: number | undefined, totalPages: number, )
src/utils/pagination.ts:68
↓ 1 callers
Method
resolveReqidToCdpRequestId
(reqid: number)
src/McpPage.ts:779
↓ 1 callers
Function
resolveScriptSource
( inlineSource: string | undefined, sourcePath: string | undefined, context: Context, )
src/tools/script.ts:219
↓ 1 callers
Method
resolveUidToBackendNodeId
( uid: string, )
src/McpPage.ts:1288
↓ 1 callers
Function
rpc
( child: Server, msg: {method: string; params?: unknown}, )
tests/shutdown.test.ts:75
↓ 1 callers
Function
run
(queue: TaskQueue, name: string, ms: number)
tests/utils/TaskRunner.test.ts:211
↓ 1 callers
Function
runDepotTool
(tool: string, args: string[], options: RunOptions)
scripts/gclient-sync.ts:94
↓ 1 callers
Function
runIteration
()
scripts/profile/profile_mcp.ts:136
↓ 1 callers
Function
runOn
Runs `fn` as a task on `queue`.
tests/ToolHandler.test.ts:55
↓ 1 callers
Function
runSingleScenario
( scenarioPath: string, apiKey: string, server: TestServer, modelId: string, debug: boolean, inclu
scripts/eval_gemini.ts:40
↓ 1 callers
Function
runTelemetryTest
( killFn: (ctx: TestContext) => void, spawnOptions?: SpawnOptions, )
tests/e2e/telemetry.test.ts:287
↓ 1 callers
Function
runTests
(attempt)
scripts/test.js:210
↓ 1 callers
Function
runWatchdogWithout
( missing: keyof typeof REQUIRED_ARGS, )
tests/telemetry/watchdog/main.test.ts:25
↓ 1 callers
Function
runWithRetry
(fn: () => Promise<void>)
tests/browser.test.ts:39
↓ 1 callers
Function
safeClose
(browser: Browser)
tests/browser.test.ts:26
↓ 1 callers
Function
schemaToCLIOptions
(toolName: string, schema: JsonSchema)
scripts/generate-cli.ts:53
↓ 1 callers
Function
scriptFor
(index: number)
scripts/profile/source_map_server.ts:30
↓ 1 callers
Function
selectNativeSelectOption
( handle: ElementHandle<Element>, signal: AbortSignal, )
src/tools/input.ts:101
↓ 1 callers
Function
selectOption
( handle: ElementHandle, aXNode: TextSnapshotNode, value: string, signal: AbortSignal, )
src/tools/input.ts:292
↓ 1 callers
Function
selectedPageIdFromToolResult
(result: unknown)
scripts/profile/utils.ts:31
↓ 1 callers
Function
selfCausedError
()
tests/devtools/DevtoolsUtils.test.ts:465
↓ 1 callers
Method
setIncludeExtensionServiceWorkers
(value: boolean)
src/McpResponse.ts:209
↓ 1 callers
Method
setTabId
(tabId: string)
src/tools/ToolDefinition.ts:336
↓ 1 callers
Function
setUpHangingInit
()
tests/McpContext.test.ts:1052
↓ 1 callers
Method
setUpNetworkCollectorForTesting
* We need to ignore favicon request as they make our test flaky
src/McpPage.ts:1719
↓ 1 callers
Function
setupBlockedPageFixture
* 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 callers
Function
setupBundleRoutes
()
tests/LogpointManager.test.ts:353
↓ 1 callers
Function
setupMCPServer
()
src/daemon/daemon.ts:141
↓ 1 callers
Function
setupPwaRoutes
()
tests/tools/pwa.test.ts:59
↓ 1 callers
Function
setupRoutes
()
tests/LogpointManager.test.ts:346
↓ 1 callers
Function
setupServerWithRetry
()
tests/shutdown.test.ts:153
↓ 1 callers
Function
setupServiceWorkerFixture
* 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 callers
Function
setupStopDaemonSignalFailure
(runtimeDir: string)
tests/daemon/client.test.ts:67
↓ 1 callers
Function
setupThirdPartyDeveloperTools
( response: McpResponse, context: McpContext, args: ParsedArguments, evaluateFn: () =>
tests/tools/thirdPartyDeveloper.test.ts:300
↓ 1 callers
Function
setupWebMcpTool
(page: McpPage)
tests/tools/webmcp.test.ts:56
↓ 1 callers
Function
shield
(token: string)
src/config/cli-commands.ts:220
↓ 1 callers
Function
shield
(argv: string[])
tests/cli.test.ts:1624
↓ 1 callers
Function
shiftBundle
( bundle: {js: string; map: string}, extraLines: number, )
tests/LogpointManager.test.ts:68
↓ 1 callers
Function
shortCommand
(command: string)
scripts/profile/footprint_mcp.ts:262
↓ 1 callers
Function
shouldLogDailyActive
(state: LocalState)
src/telemetry/ClearcutLogger.ts:63
↓ 1 callers
Function
shouldValidateFile
( option: FileVerificationOption | undefined, isLocal: boolean, )
src/ToolHandler.ts:172
↓ 1 callers
Function
shutdown
(reason: string)
src/bin/chrome-devtools-mcp-main.ts:52
↓ 1 callers
Method
signIn
()
tests/tools/webauthn.test.ts:26
↓ 1 callers
Function
skipValue
* 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 callers
Function
sourceMapFor
(index: number, sizeBytes = 1_000_000)
scripts/profile/source_map_server.ts:14
↓ 1 callers
Function
spawnServer
()
tests/shutdown.test.ts:25
↓ 1 callers
Method
splitAfterNavigation
()
src/collectors/PageCollector.ts:218
↓ 1 callers
Function
stabilize
(c: unknown)
tests/utils.ts:410
↓ 1 callers
Function
start
( args: string[], sessionId: string, stopExisting = false, )
src/bin/chrome-devtools.ts:50
↓ 1 callers
Function
start
Acquires `queue` and holds it until `finish()` is called.
tests/utils/TaskRunner.test.ts:27
↓ 1 callers
Function
startMockClearcutServer
* Accepts telemetry uploads so that the default configuration never sends * data off the machine.
scripts/profile/footprint_mcp.ts:273
↓ 1 callers
Function
startSocketServer
()
src/daemon/daemon.ts:224
↓ 1 callers
Function
startSourceMapTestServer
( scriptCount = 100, )
scripts/profile/source_map_server.ts:43
↓ 1 callers
Function
startWatcher
( watchedPath: string, onChange: (content: string) => Promise<void> = sinon.stub().resolves(), )
tests/config/ConfigWatcher.test.ts:69
↓ 1 callers
Method
stopForTesting
()
src/telemetry/watchdog/ClearcutSender.ts:263
↓ 1 callers
Function
stopTracingAndAppendOutput
( page: ContextPage, response: Response, context: Context, filePath?: string, )
src/tools/performance.ts:251
↓ 1 callers
Function
stripWhitespace
(text: string)
src/formatters/SnapshotFormatter.ts:209
↓ 1 callers
Function
stubMissingPaths
(...missingPaths: string[])
tests/roots.test.ts:164
↓ 1 callers
Method
subscribe
()
src/collectors/ServiceWorkerCollector.ts:52
↓ 1 callers
Method
subscribe
()
src/collectors/PageCollector.ts:323
↓ 1 callers
Function
substitutePlaceholders
( rawMarkdown: string, substitutions?: Map<string, string>, )
src/utils/text.ts:12
↓ 1 callers
Function
sumOptional
(values: Array<number | undefined>)
scripts/profile/footprint_mcp.ts:200
↓ 1 callers
Function
sumTotals
(processes: ProcessMemory[])
scripts/profile/footprint_mcp.ts:211
↓ 1 callers
Method
syncNetworkRestrictions
* Applies updated URL allowlist/blocklist rules to the connected browser and * clears incompatible page network throttling state.
src/McpContext.ts:260
↓ 1 callers
Method
syncSourceMaps
* Synchronizes the DevTools source maps setting across all pages.
src/McpContext.ts:278
↓ 1 callers
Method
syncSourceMaps
()
src/McpPage.ts:436
↓ 1 callers
Function
synthesizeRuleTypes
( options: MockRuleOptions, )
tests/mocks.ts:770
↓ 1 callers
Method
takeHeapSnapshot
(filePath: string)
scripts/profile/inspector.ts:114
↓ 1 callers
Method
target
()
tests/mocks.ts:235
↓ 1 callers
Function
targetInfo
(url: string, title: string)
tests/McpPage.test.ts:739
↓ 1 callers
Function
testIncludesThirdPartyDeveloperTools
( handlerAction: ( response: McpResponse, context: McpContext, args: ParsedArguments,
tests/McpResponse.test.ts:1589
↓ 1 callers
Function
testIncludesWebmcpTools
( t: it.TestContext, parseArguments: Partial<ParsedArguments>, handlerAction: ( response: Mc
tests/McpResponse.test.ts:1706
↓ 1 callers
Function
toAuditNode
(value: Record<string, unknown>)
src/tools/lighthouse.ts:59
↓ 1 callers
Function
toFrames
( callFrames: StackTraceLike['callFrames'], )
src/devtools/DevtoolsUtils.ts:268
↓ 1 callers
Function
toIndex
(name: string)
src/formatters/RemoteObjectFormatter.ts:117
↓ 1 callers
Function
toInputJsonSchema
(schema: zod.ZodType)
src/ToolHandler.ts:228
↓ 1 callers
Method
toJSON
()
src/formatters/IssueFormatter.ts:62
↓ 1 callers
Method
toJSON
()
src/formatters/CommentFormatter.ts:92
↓ 1 callers
Method
toJSON
()
src/formatters/WebAuthnFormatter.ts:43
↓ 1 callers
Method
toJSON
()
src/formatters/ConsoleFormatter.ts:367
↓ 1 callers
Method
toJSON
()
src/formatters/NetworkOverridesFormatter.ts:18
↓ 1 callers
Method
toJSONDetailed
()
src/formatters/NetworkFormatter.ts:216
← previous
next →
1,001–1,100 of 1,492, ranked by callers