Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChromeDevTools/chrome-devtools-mcp
/ functions
Functions
713 in github.com/ChromeDevTools/chrome-devtools-mcp
⨍
Functions
713
◇
Types & classes
150
↓ 49 callers
Method
get
(page: Page)
src/devtools/DevtoolsUtils.ts:177
↓ 26 callers
Method
getSelectedMcpPage
()
src/McpContext.ts:527
↓ 24 callers
Function
withMcpContext
( cb: (response: McpResponse, context: McpContext) => Promise<void>, options: { debug?: boolean; a
tests/utils.ts:114
↓ 23 callers
Method
error
()
src/McpResponse.ts:444
↓ 22 callers
Method
find
( page: Page, filter: (item: WithSymbolId<T>) => boolean, )
src/PageCollector.ts:204
↓ 22 callers
Method
toString
()
src/formatters/IssueFormatter.ts:48
↓ 19 callers
Method
getSelectedPptrPage
()
src/McpContext.ts:514
↓ 19 callers
Method
restore
()
tests/server.ts:86
↓ 18 callers
Method
appendResponseLine
(value: string)
src/tools/ToolDefinition.ts:108
↓ 17 callers
Method
from
( browser: Browser, logger: Logger, opts: McpContextOptions, /* Let tests use unbundled Locato
src/McpContext.ts:175
↓ 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
↓ 16 callers
Function
html
( strings: TemplateStringsArray, ...values: unknown[] )
tests/utils.ts:232
↓ 15 callers
Method
handle
(params: Record<string, unknown>)
src/ToolHandler.ts:177
↓ 15 callers
Method
sort
( aggregates: Record< string, DevTools.HeapSnapshotModel.HeapSnapshotModel.AggregatedInfo
src/formatters/HeapSnapshotFormatter.ts:170
↓ 14 callers
Function
definePageTool
( definition: PageToolDefinition<Schema> | ((args?: Args) => PageToolDefinition<Schema>), )
src/tools/ToolDefinition.ts:390
↓ 13 callers
Method
addHtmlRoute
(path: string, htmlContent: string)
tests/server.ts:51
↓ 12 callers
Method
close
()
src/devtools/McpHostBindingAdapter.ts:54
↓ 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
↓ 12 callers
Function
serverHooks
()
tests/server.ts:110
↓ 10 callers
Method
getSnapshot
( filePath: string, )
src/HeapSnapshotManager.ts:54
↓ 10 callers
Method
newPage
( background?: boolean, isolatedContextName?: string, )
src/McpContext.ts:325
↓ 9 callers
Method
send
(message: WatchdogMessage)
src/telemetry/WatchdogClient.ts:69
↓ 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:56
↓ 8 callers
Method
toJSON
()
src/formatters/IssueFormatter.ts:56
↓ 7 callers
Method
emulate
( options: { networkConditions?: string; cpuThrottlingRate?: number; geolocation?: Geolo
src/McpContext.ts:371
↓ 7 callers
Function
getTextContent
( content: CallToolResult['content'][number], )
tests/utils.ts:39
↓ 6 callers
Method
dispose
()
src/devtools/DevtoolsUtils.ts:181
↓ 6 callers
Method
getElementByUid
(uid: string)
src/McpPage.ts:337
↓ 6 callers
Function
parseArguments
( version: string, argv = process.argv, env = process.env, )
src/bin/chrome-devtools-mcp-cli-options.ts:361
↓ 6 callers
Method
resetResponseLineForTesting
()
src/McpResponse.ts:1435
↓ 6 callers
Function
runCli
( args: string[], sessionId?: string, )
tests/utils.ts:370
↓ 6 callers
Method
saveFile
( data: Uint8Array<ArrayBufferLike>, clientProvidedFilePath: string, extension: SupportedExtension
src/McpContext.ts:809
↓ 6 callers
Method
validatePath
(filePath?: string)
src/McpContext.ts:204
↓ 5 callers
Method
#getMcpPage
(page: Page)
src/McpContext.ts:544
↓ 5 callers
Method
addRoute
( path: string, handler: (req: IncomingMessage, res: ServerResponse) => void, )
tests/server.ts:62
↓ 5 callers
Method
dispose
()
src/McpPage.ts:144
↓ 5 callers
Method
from
( request: HTTPRequest, options: NetworkFormatterOptions, )
src/formatters/NetworkFormatter.ts:64
↓ 5 callers
Method
getData
(page: Page, includePreservedData?: boolean)
src/PageCollector.ts:166
↓ 5 callers
Method
getPageById
(pageId: number)
src/McpContext.ts:532
↓ 5 callers
Method
getPageId
(page: Page)
src/McpContext.ts:540
↓ 5 callers
Function
getPidFilePath
(sessionId: string)
src/daemon/utils.ts:72
↓ 5 callers
Function
isDaemonRunning
(sessionId: string)
src/daemon/utils.ts:96
↓ 5 callers
Method
platform
()
src/devtools/McpHostBindingAdapter.ts:243
↓ 5 callers
Method
selectPage
(newPage: McpPage)
src/McpContext.ts:560
↓ 5 callers
Method
setPage
(page: McpPage)
src/McpResponse.ts:273
↓ 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:889
↓ 4 callers
Method
addPage
(page: Page)
src/PageCollector.ts:111
↓ 4 callers
Function
assertDaemonIsNotRunning
(sessionId?: string)
tests/utils.ts:397
↓ 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:598
↓ 4 callers
Function
createIdGenerator
()
src/utils/id.ts:7
↓ 4 callers
Method
createPagesSnapshot
()
src/McpContext.ts:636
↓ 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:343
↓ 4 callers
Method
ensureExtension
( filePath: string, extension: Extension, )
src/McpContext.ts:258
↓ 4 callers
Method
get
()
src/telemetry/ClearcutLogger.ts:66
↓ 4 callers
Method
getDialog
()
src/McpPage.ts:77
↓ 4 callers
Method
getIdForResource
(resource: WithSymbolId<T>)
src/PageCollector.ts:185
↓ 4 callers
Function
getMockRequest
( options: { url?: string; method?: string; response?: HTTPResponse; failure?: HTTPRequest['
tests/utils.ts:151
↓ 4 callers
Method
includeSnapshot
(params?: SnapshotParams)
src/tools/ToolDefinition.ts:155
↓ 4 callers
Method
init
(pages: Page[])
src/PageCollector.ts:73
↓ 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
Method
setListWebMcpTools
()
src/tools/ToolDefinition.ts:174
↓ 4 callers
Method
stop
()
tests/server.ts:96
↓ 4 callers
Method
triggerExtensionAction
(id: string)
src/McpContext.ts:893
↓ 4 callers
Method
waitForEventsAfterAction
( action: () => Promise<unknown>, options?: {timeout?: number; handleDialog?: 'accept' | 'dismiss' | s
src/McpPage.ts:133
↓ 3 callers
Method
#getAllPages
()
src/McpContext.ts:681
↓ 3 callers
Method
#getTitle
()
src/formatters/IssueFormatter.ts:155
↓ 3 callers
Method
acquire
()
src/Mutex.ts:22
↓ 3 callers
Function
assertDaemonIsRunning
(sessionId?: string)
tests/utils.ts:405
↓ 3 callers
Method
attachNetworkRequest
( reqId: number, options?: {requestFilePath?: string; responseFilePath?: string}, )
src/tools/ToolDefinition.ts:157
↓ 3 callers
Function
buildFlag
(category: ToolCategory)
src/ToolHandler.ts:22
↓ 3 callers
Function
checkForUpdates
(message: string)
src/utils/check-for-updates.ts:27
↓ 3 callers
Function
cleanup
()
src/daemon/daemon.ts:264
↓ 3 callers
Method
clearDialog
()
src/McpPage.ts:81
↓ 3 callers
Method
dispose
()
src/McpContext.ts:160
↓ 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:368
↓ 3 callers
Method
getById
(page: Page, stableId: number)
src/PageCollector.ts:189
↓ 3 callers
Method
getDevToolsUniverse
(page: McpPage)
src/McpContext.ts:308
↓ 3 callers
Method
getExtensionServiceWorkers
()
src/McpContext.ts:777
↓ 3 callers
Method
getIsolatedContextName
(page: Page)
src/McpContext.ts:791
↓ 3 callers
Method
initialize
(options: ClearcutLoggerOptions)
src/telemetry/ClearcutLogger.ts:58
↓ 3 callers
Method
installExtension
(extensionPath: string)
src/McpContext.ts:884
↓ 3 callers
Method
logServerError
(args: { toolName?: string; errorCode: ErrorCode; })
src/telemetry/ClearcutLogger.ts:183
↓ 3 callers
Function
mockListener
()
tests/utils.ts:316
↓ 3 callers
Method
recordedTraces
()
src/McpContext.ts:834
↓ 3 callers
Method
release
()
src/Mutex.ts:33
↓ 3 callers
Method
saveTemporaryFile
( data: Uint8Array<ArrayBufferLike>, filename: string, )
src/McpContext.ts:795
↓ 3 callers
Method
setIncludeNetworkRequests
( value: boolean, options?: PaginationOptions & { resourceTypes?: string[]; includePreserv
src/tools/ToolDefinition.ts:139
↓ 3 callers
Method
setIsRunningPerformanceTrace
(x: boolean)
src/McpContext.ts:492
↓ 3 callers
Method
setListThirdPartyDeveloperTools
()
src/tools/ToolDefinition.ts:173
↓ 3 callers
Method
setRoots
(roots: Root[] | undefined)
src/McpContext.ts:200
↓ 3 callers
Function
stabilizeResponseOutput
(text: unknown)
tests/utils.ts:274
next →
1–100 of 713, ranked by callers