Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChromeDevTools/chrome-devtools-mcp
/ functions
Functions
754 in github.com/ChromeDevTools/chrome-devtools-mcp
⨍
Functions
754
◇
Types & classes
163
↓ 38 callers
Method
get
()
src/telemetry/ClearcutLogger.ts:67
↓ 33 callers
Method
resolve
(result: unknown)
scripts/profile/inspector.ts:25
↓ 29 callers
Method
getSelectedMcpPage
()
src/McpContext.ts:366
↓ 25 callers
Function
withMcpContext
( cb: (response: McpResponse, context: McpContext) => Promise<void>, options: { debug?: boolean; a
tests/utils.ts:156
↓ 24 callers
Method
find
( filter: (item: WithSymbolId<T>) => boolean, )
src/PageCollector.ts:141
↓ 24 callers
Method
from
( browser: Browser, logger: Logger, opts: McpContextOptions, /* Let tests use unbundled Locato
src/McpContext.ts:190
↓ 23 callers
Method
error
()
src/McpResponse.ts:310
↓ 22 callers
Method
restore
()
tests/server.ts:86
↓ 21 callers
Method
toString
()
src/formatters/IssueFormatter.ts:48
↓ 17 callers
Method
appendResponseLine
(value: string)
src/tools/ToolDefinition.ts:109
↓ 17 callers
Method
close
()
scripts/profile/source_map_server.ts:10
↓ 17 callers
Function
html
( strings: TemplateStringsArray, ...values: unknown[] )
tests/utils.ts:277
↓ 16 callers
Method
assertNextCall
* Asserts that the next call in sequence has the correct name and matches expected arguments. * Increments the internal call index.
scripts/eval_result.ts:65
↓ 15 callers
Method
handle
(params: Record<string, unknown>)
src/ToolHandler.ts:183
↓ 15 callers
Method
sort
( aggregates: Record< string, DevTools.HeapSnapshotModel.HeapSnapshotModel.AggregatedInfo
src/formatters/HeapSnapshotFormatter.ts:192
↓ 14 callers
Function
definePageTool
( definition: PageToolDefinition<Schema> | ((args?: Args) => PageToolDefinition<Schema>), )
src/tools/ToolDefinition.ts:399
↓ 13 callers
Method
getSnapshot
( filePath: string, )
src/HeapSnapshotManager.ts:59
↓ 12 callers
Method
addHtmlRoute
(path: string, htmlContent: string)
tests/server.ts:51
↓ 12 callers
Method
consumePageNavigation
* Consumes initial page navigation/setup boilerplate. * - Ignores/skips leading list_pages calls. * - Asserts that new_page or navigate_page was
scripts/eval_result.ts:39
↓ 12 callers
Method
getRoute
(path: string)
tests/server.ts:44
↓ 11 callers
Function
serverHooks
()
tests/server.ts:132
↓ 10 callers
Method
newPage
( background?: boolean, isolatedContextName?: string, )
src/McpContext.ts:304
↓ 10 callers
Method
send
(message: WatchdogMessage)
src/telemetry/WatchdogClient.ts:69
↓ 9 callers
Method
saveFile
( data: Uint8Array<ArrayBufferLike>, clientProvidedFilePath: string, extension: SupportedExtension
src/McpContext.ts:634
↓ 8 callers
Function
assertValidSessionId
(sessionId: string)
src/daemon/utils.ts:26
↓ 8 callers
Method
create
( page: McpPage, options: { verbose?: boolean; devtoolsData?: DevToolsData; extraHan
src/TextSnapshot.ts:47
↓ 8 callers
Function
stripUnderscoreBeforeNumber
(name: string)
src/telemetry/transformation.ts:84
↓ 8 callers
Method
toJSON
()
src/formatters/IssueFormatter.ts:56
↓ 7 callers
Method
connect
(url: string)
scripts/profile/inspector.ts:41
↓ 7 callers
Method
emulate
(options: { networkConditions?: string; cpuThrottlingRate?: number; geolocation?: GeolocationOptio
src/McpPage.ts:707
↓ 7 callers
Method
getElementByUid
(uid: string)
src/McpPage.ts:634
↓ 7 callers
Function
getTextContent
( content: CallToolResult['content'][number], )
tests/utils.ts:39
↓ 7 callers
Function
isDaemonRunning
(sessionId: string)
src/daemon/utils.ts:111
↓ 6 callers
Method
getPageById
(pageId: number)
src/McpContext.ts:409
↓ 6 callers
Function
parseArguments
( version: string, argv = process.argv, env = process.env, )
src/bin/chrome-devtools-mcp-cli-options.ts:372
↓ 6 callers
Method
platform
()
src/devtools/McpHostBindingAdapter.ts:243
↓ 6 callers
Method
resetResponseLineForTesting
()
src/McpResponse.ts:1410
↓ 6 callers
Function
runCli
( args: string[], sessionId?: string, )
tests/utils.ts:415
↓ 6 callers
Method
validatePath
(filePath?: string)
src/McpContext.ts:220
↓ 5 callers
Method
from
( request: HTTPRequest, options: NetworkFormatterOptions, )
src/formatters/NetworkFormatter.ts:64
↓ 5 callers
Method
getData
(includePreservedData?: boolean)
src/PageCollector.ts:113
↓ 5 callers
Function
getPidFilePath
(sessionId: string)
src/daemon/utils.ts:85
↓ 5 callers
Method
selectPage
(newPage: McpPage)
src/McpContext.ts:421
↓ 5 callers
Method
setPage
(page: McpPage)
src/McpResponse.ts:131
↓ 5 callers
Method
stop
()
tests/server.ts:118
↓ 5 callers
Method
toJSONDetailed
()
src/formatters/IssueFormatter.ts:65
↓ 5 callers
Method
toStringDetailed
()
src/formatters/IssueFormatter.ts:52
↓ 5 callers
Method
uninstallExtension
(id: string)
src/McpContext.ts:667
↓ 5 callers
Method
waitForEventsAfterAction
( action: () => Promise<unknown>, options?: { timeout?: number; handleDialog?: Dia
src/McpPage.ts:413
↓ 4 callers
Method
addRoute
( path: string, handler: (req: IncomingMessage, res: ServerResponse) => void, )
tests/server.ts:62
↓ 4 callers
Function
assertDaemonIsNotRunning
(sessionId?: string)
tests/utils.ts:442
↓ 4 callers
Function
assertNoServiceWorkerReported
(targets: Target[], id: string)
tests/utils.ts:32
↓ 4 callers
Method
createExtensionServiceWorkersSnapshot
* Creates a snapshot of the extension service workers.
src/McpContext.ts:439
↓ 4 callers
Method
createPagesSnapshot
()
src/McpContext.ts:513
↓ 4 callers
Function
createTools
(args: ParsedArguments)
src/tools/tools.ts:27
↓ 4 callers
Function
defineTool
( definition: ToolDefinition<Schema> | ((args?: Args) => ToolDefinition<Schema>), )
src/tools/ToolDefinition.ts:352
↓ 4 callers
Method
dispose
()
src/McpPage.ts:428
↓ 4 callers
Method
ensureExtension
( filePath: string, extension: Extension, )
src/McpContext.ts:290
↓ 4 callers
Method
getById
(stableId: number)
src/PageCollector.ts:131
↓ 4 callers
Method
getDevToolsData
()
src/McpPage.ts:669
↓ 4 callers
Method
getDialog
()
src/McpPage.ts:206
↓ 4 callers
Function
getMockRequest
( options: { url?: string; method?: string; response?: HTTPResponse; failure?: HTTPRequest['
tests/utils.ts:196
↓ 4 callers
Method
includeSnapshot
(params?: SnapshotParams)
src/tools/ToolDefinition.ts:157
↓ 4 callers
Function
isObject
(value: unknown)
scripts/profile/utils.ts:9
↓ 4 callers
Function
loadTraceAsBuffer
(filePath: string)
tests/trace-processing/fixtures/load.ts:17
↓ 4 callers
Function
parseRawTraceBuffer
( buffer: Uint8Array<ArrayBufferLike> | undefined, metadata?: { cpuThrottling?: number; networkThr
src/trace-processing/parse.ts:27
↓ 4 callers
Function
sendCommand
( command: DaemonMessage, sessionId: string, timeout = SEND_COMMAND_TIMEOUT, )
src/daemon/client.ts:145
↓ 4 callers
Method
setListWebMcpTools
()
src/tools/ToolDefinition.ts:176
↓ 4 callers
Method
timeout
(time: number)
src/WaitForHelper.ts:134
↓ 4 callers
Method
triggerExtensionAction
(id: string)
src/McpContext.ts:679
↓ 3 callers
Method
#createMcpPage
(page: Page)
src/McpContext.ts:497
↓ 3 callers
Method
#getTitle
()
src/formatters/IssueFormatter.ts:155
↓ 3 callers
Function
assertDaemonIsRunning
(sessionId?: string)
tests/utils.ts:450
↓ 3 callers
Method
attachNetworkRequest
( reqId: number, options?: {requestFilePath?: string; responseFilePath?: string}, )
src/tools/ToolDefinition.ts:159
↓ 3 callers
Function
buildFlag
(category: ToolCategory)
src/ToolHandler.ts:28
↓ 3 callers
Function
checkForUpdates
(message: string)
src/utils/check-for-updates.ts:27
↓ 3 callers
Function
cleanup
(exitCode = 0)
src/daemon/daemon.ts:268
↓ 3 callers
Method
clearDialog
()
src/McpPage.ts:210
↓ 3 callers
Function
createIdGenerator
()
src/utils/id.ts:7
↓ 3 callers
Method
dispose
()
src/McpContext.ts:140
↓ 3 callers
Method
enqueueEvent
(event: ChromeDevToolsMcpExtension)
src/telemetry/watchdog/ClearcutSender.ts:67
↓ 3 callers
Function
extractExtensionId
(response: McpResponse)
tests/utils.ts:58
↓ 3 callers
Method
getAXNodeByUid
(uid: string)
src/McpPage.ts:665
↓ 3 callers
Method
getExtensionServiceWorkers
()
src/McpContext.ts:588
↓ 3 callers
Method
initialize
(options: ClearcutLoggerOptions)
src/telemetry/ClearcutLogger.ts:59
↓ 3 callers
Method
installExtension
(extensionPath: string)
src/McpContext.ts:657
↓ 3 callers
Method
isPageSelected
(page: McpPage)
src/McpContext.ts:417
↓ 3 callers
Method
isValid
()
src/formatters/IssueFormatter.ts:150
↓ 3 callers
Method
logServerError
(args: { toolName?: string; errorCode: ErrorCode; })
src/telemetry/ClearcutLogger.ts:188
↓ 3 callers
Method
randomPort
()
tests/server.ts:20
↓ 3 callers
Method
recordedTraces
()
src/McpContext.ts:653
↓ 3 callers
Method
resetForTesting
()
src/telemetry/ClearcutLogger.ts:71
↓ 3 callers
Method
saveTemporaryFile
( data: Uint8Array<ArrayBufferLike>, filename: string, )
src/McpContext.ts:625
↓ 3 callers
Method
send
(method: string, params?: Record<string, unknown>)
scripts/profile/inspector.ts:93
↓ 3 callers
Method
setIncludeNetworkRequests
( value: boolean, options?: PaginationOptions & { resourceTypes?: string[]; includePreserv
src/tools/ToolDefinition.ts:141
↓ 3 callers
Method
setIsRunningPerformanceTrace
(x: boolean)
src/McpContext.ts:340
↓ 3 callers
Method
setListThirdPartyDeveloperTools
()
src/tools/ToolDefinition.ts:175
↓ 3 callers
Method
setRoots
(roots: Root[] | undefined)
src/McpContext.ts:216
↓ 3 callers
Function
stabilizeResponseOutput
(text: unknown)
tests/utils.ts:319
↓ 3 callers
Function
stabilizeStructuredContent
(content: unknown)
tests/utils.ts:298
next →
1–100 of 754, ranked by callers