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
collapseWhitespace
(value: string)
src/McpResponse.ts:2013
↓ 1 callers
Function
collectAncestorRules
* Collects enclosing ancestor rules (`@media`, `@container`, `@supports`, * `@layer`, `@scope`, `@starting-style`, `@navigation`, and CSS nesting) fo
src/formatters/CssFormatter.ts:369
↓ 1 callers
Function
collectConsole
Collects console messages of the page from now on.
tests/LogpointManager.test.ts:254
↓ 1 callers
Function
collectNodes
( value: unknown, nodes: Map<string, LighthouseAuditNode>, )
src/tools/lighthouse.ts:102
↓ 1 callers
Function
collectUids
(node: Record<string, unknown>)
scripts/profile/utils.ts:74
↓ 1 callers
Function
collectUncaughtErrors
( pptrPage: MockPuppeteerPage, )
tests/collectors/PageCollector.test.ts:745
↓ 1 callers
Function
computeDownscaleClip
( box: SourceBox, maxWidth: number | undefined, maxHeight: number | undefined, )
src/tools/screenshot.ts:110
↓ 1 callers
Function
configure
( context: McpContext, response: McpResponse, args: Parameters<typeof configureWebAuthn>[0], params: W
tests/tools/webauthn.test.ts:104
↓ 1 callers
Function
convertConsoleMessageConciseDetailedToString
( msg: ConsoleMessageDetailed, )
src/formatters/ConsoleFormatter.ts:389
↓ 1 callers
Function
convertIssueConciseToString
(issue: IssueConcise)
src/formatters/IssueFormatter.ts:221
↓ 1 callers
Function
convertIssueDetailedToString
(issue: IssueDetailed)
src/formatters/IssueFormatter.ts:225
↓ 1 callers
Function
convertNetworkRequestDetailedToStringDetailed
( data: NetworkRequestDetailed, )
src/formatters/NetworkFormatter.ts:338
↓ 1 callers
Method
create
( logger: Logger, opts: McpContextOptions, /* Let tests use unbundled Locator class to avoid overl
src/McpContext.ts:458
↓ 1 callers
Function
createBrowserlessTool
( handler: BrowserlessToolDefinition['handler'], )
tests/ToolHandler.test.ts:2814
↓ 1 callers
Function
createContainerQueryAncestor
( containerQuery?: ContainerQuery, containerDetails?: Map<ContainerQuery, ResolvedContainerDetails>, )
src/formatters/CssFormatter.ts:348
↓ 1 callers
Function
createContext
()
tests/ToolHandler.test.ts:653
↓ 1 callers
Function
createContext
()
tests/roots.test.ts:173
↓ 1 callers
Function
createDisposableTempFile
(filename: string)
tests/utils.ts:654
↓ 1 callers
Function
createErrors
(...texts: string[])
tests/McpResponse.test.ts:700
↓ 1 callers
Function
createExclusiveTool
( name: string, handler: () => Promise<void>, )
tests/ToolHandler.test.ts:787
↓ 1 callers
Function
createGlobalTool
( handler: ToolDefinition['handler'], options: { name?: string; concurrency?: Tool
tests/ToolHandler.test.ts:631
↓ 1 callers
Function
createHandedOverPage
( messages: Array<ReturnType<typeof createMockConsoleMessage>>, universe?: TargetUniverse, )
tests/McpResponse.test.ts:686
↓ 1 callers
Function
createHandler
(tool: AnyToolDefinition, mockContext: McpContext)
tests/ToolHandler.test.ts:662
↓ 1 callers
Function
createLayerAncestor
(layer?: { text?: string; })
src/formatters/CssFormatter.ts:326
↓ 1 callers
Function
createMatchedStylesForRuleSubsets
()
tests/formatters/CssFormatter.test.ts:97
↓ 1 callers
Function
createMcpPage
(options: {config?: ReadonlyServerConfig} = {})
tests/McpPage.test.ts:393
↓ 1 callers
Function
createMcpPageWithUniverse
()
tests/McpPage.test.ts:2830
↓ 1 callers
Function
createMockAXNode
( role: string, options: { name?: string; loaderId?: string; backendNodeId?: number; child
tests/mocks.ts:114
↓ 1 callers
Function
createMockAuthenticatorId
( id: string, )
tests/mocks.ts:584
↓ 1 callers
Function
createMockCSSAtRule
( type: string, options: { name?: string; subsection?: string; properties: DevTools.CSSPropert
tests/mocks.ts:900
↓ 1 callers
Function
createMockCSSFunctionRule
( nameWithParams: string, options: { functionName?: string; properties: DevTools.CSSProperty.CSSPr
tests/mocks.ts:1009
↓ 1 callers
Function
createMockCSSInlineStyle
( properties: DevTools.CSSProperty.CSSProperty[], )
tests/mocks.ts:740
↓ 1 callers
Function
createMockCSSKeyframesRule
( name: string, keyframes: Array<{ key: string; properties: DevTools.CSSProperty.CSSProperty[];
tests/mocks.ts:868
↓ 1 callers
Function
createMockCSSPositionTryRule
( name: string, options: { active?: boolean; properties: DevTools.CSSProperty.CSSProperty[]; s
tests/mocks.ts:929
↓ 1 callers
Function
createMockCSSRegisteredProperty
( name: string, options: { syntax?: string; inherits?: boolean; initialValue?: string; sou
tests/mocks.ts:955
↓ 1 callers
Function
createMockConsoleMessage
(text: string)
tests/collectors/PageCollector.test.ts:36
↓ 1 callers
Function
createMockContext
(options?: { browser?: sinon.SinonStubbedInstance<Browser>; config?: ServerConfig; heapSnapshotMan
tests/McpContext.test.ts:107
↓ 1 callers
Function
createMockDominatorChain
()
tests/mocks.ts:1223
↓ 1 callers
Function
createMockDuplicateStrings
()
tests/mocks.ts:1283
↓ 1 callers
Function
createMockHeapSnapshotAggregate
( options: Partial<HeapSnapshotAggregate> = {}, )
tests/mocks.ts:1457
↓ 1 callers
Function
createMockHeapSnapshotAggregateData
()
tests/mocks.ts:1195
↓ 1 callers
Function
createMockHeapSnapshotEdge
( options: Partial<DevTools.HeapSnapshotModel.HeapSnapshotModel.Edge> = {}, )
tests/mocks.ts:1445
↓ 1 callers
Function
createMockItemsRange
()
tests/mocks.ts:1203
↓ 1 callers
Function
createMockMessage
( type: string, text: string, argsCount = 0, )
tests/formatters/ConsoleFormatterGrouping.test.ts:16
↓ 1 callers
Function
createMockMessage
( data: Partial<MockConsoleMessage> = {}, )
tests/formatters/ConsoleFormatter.test.ts:33
↓ 1 callers
Function
createMockNativeContextSizes
()
tests/mocks.ts:1176
↓ 1 callers
Function
createMockRetainedByContextSummary
()
tests/mocks.ts:1184
↓ 1 callers
Function
createMockRetainingPaths
()
tests/mocks.ts:1212
↓ 1 callers
Function
createMockTargetUniverse
( model: NonNullable<ReturnType<DevTools.Target['model']>>, )
tests/mocks.ts:593
↓ 1 callers
Function
createMockWebAuthnModel
()
tests/mocks.ts:571
↓ 1 callers
Function
createNetworkPolicyContext
(options: { allowlist?: string[]; blocklist?: string[]; })
tests/McpContext.test.ts:1530
↓ 1 callers
Function
createNewPageAndTriggerDialog
(client: Client)
tests/index.test.ts:388
↓ 1 callers
Function
createNode
( id: string, role: string, name: string, children: TextSnapshotNode[] = [], )
tests/formatters/snapshotFormatter.test.ts:16
↓ 1 callers
Function
createOption
(category: ToolCategory)
src/config/category-options.ts:137
↓ 1 callers
Function
createPage
()
tests/McpPage.test.ts:574
↓ 1 callers
Function
createPageTarget
()
tests/McpContext.test.ts:99
↓ 1 callers
Function
createPageTool
( name: string, handler: () => Promise<void>, options: { concurrency?: DefinedPageTo
tests/ToolHandler.test.ts:764
↓ 1 callers
Function
createPages
(ids: number[])
tests/ToolHandler.test.ts:806
↓ 1 callers
Function
createParser
(configPath: string, argv: string[] = [])
tests/config/mcp-options.test.ts:167
↓ 1 callers
Function
createQueryAncestor
( type: 'media' | 'scope' | 'supports' | 'navigation', query?: {text?: string}, )
src/formatters/CssFormatter.ts:335
↓ 1 callers
Function
createRawStackTrace
( rawStackTrace: StackTraceLike, )
src/devtools/DevtoolsUtils.ts:265
↓ 1 callers
Function
createResponseRecordingHandler
(slim: boolean)
tests/ToolHandler.test.ts:1616
↓ 1 callers
Function
createScreencastMocks
()
tests/tools/screencast.test.ts:37
↓ 1 callers
Function
createSnapshotWithNodes
( nodes: Array<{id: string; backendNodeId?: number}>, verbose = false, )
tests/McpPage.test.ts:1780
↓ 1 callers
Function
createSnapshotWithNodes
( nodes: Array<{id: string; backendNodeId?: number}>, verbose = false, )
tests/McpResponse.test.ts:2393
↓ 1 callers
Function
createStackTraceForConsoleMessage
( devTools: TargetUniverse, consoleMessage: ConsoleMessage, )
src/devtools/DevtoolsUtils.ts:553
↓ 1 callers
Function
createStructuredPage
( mcpPage: McpPage, context: McpContext, rawTitle: string, )
src/McpResponse.ts:2042
↓ 1 callers
Function
createSymlinkOrSkip
( t: it.TestContext, target: string, symlinkPath: string, type?: 'dir' | 'file' | 'junction', )
tests/utils/files.test.ts:20
↓ 1 callers
Function
createTree
()
tests/utils/TaskRunner.test.ts:42
↓ 1 callers
Function
createUncaughtError
(exceptionId: number)
tests/McpPage.test.ts:682
↓ 1 callers
Method
createWaitForHelper
( cpuMultiplier: number, networkMultiplier: number, )
src/McpPage.ts:914
↓ 1 callers
Function
createWebAuthnPage
()
tests/McpPage.test.ts:2492
↓ 1 callers
Function
cruxResponseFixture
(url = 'https://web.dev/', lcp = 2595)
tests/tools/performance.test.ts:662
↓ 1 callers
Function
detectOsType
()
src/telemetry/ClearcutLogger.ts:42
↓ 1 callers
Function
discoverBundledPackages
* Parse all .ts files in src/third_party/ and extract the bare package names * from import/export statements. Relative imports and node_modules paths
scripts/eslint_rules/no-direct-third-party-imports-rule.js:41
↓ 1 callers
Function
discoverScenarios
( scenariosDir: string, scenarioFilter?: string, )
scripts/profile/profile_mcp.ts:50
↓ 1 callers
Method
dispose
()
src/collectors/PageCollector.ts:183
↓ 1 callers
Function
emitException
( pptrPage: MockPuppeteerPage, handle?: ReturnType<typeof createMockCdpJSHandle>, )
tests/collectors/PageCollector.test.ts:726
↓ 1 callers
Function
encodeMappings
()
tests/LogpointManager.test.ts:213
↓ 1 callers
Function
ensureSubmodule
()
scripts/prepare.ts:63
↓ 1 callers
Function
errorResult
(text: string)
src/ToolHandler.ts:242
↓ 1 callers
Function
escapeHtmlTags
(text: string)
scripts/generate-docs.ts:54
↓ 1 callers
Function
evaluateWithTimeout
( page: McpPage, expression: string, )
tests/LogpointManager.test.ts:279
↓ 1 callers
Function
exceptionDetails
( overrides: Partial<Protocol.Runtime.ExceptionDetails> = {}, )
tests/devtools/DevtoolsUtils.test.ts:199
↓ 1 callers
Function
exit
(code: number)
src/telemetry/watchdog/main.ts:105
↓ 1 callers
Function
extractExtensionId
(origin: string)
src/collectors/ServiceWorkerCollector.ts:235
↓ 1 callers
Function
fetchBody
()
tests/network_overrides.test.ts:264
↓ 1 callers
Function
fillFormElements
* Fills one or more form elements and waits for resulting page events in a * single `waitForEventsAfterAction` call. * If an element opens a JavaScr
src/tools/input.ts:336
↓ 1 callers
Function
filterExplicitArgs
( args: Partial<ParsedArguments>, baseOptions: McpOptions, )
src/config/ServerConfig.ts:39
↓ 1 callers
Method
find
( extensionId: string, filter: (item: WithSymbolId<T>) => boolean, )
src/collectors/ServiceWorkerCollector.ts:133
↓ 1 callers
Function
findImportPath
* Walks the static and dynamic relative imports of the built JS files and * returns the first path from `entry` to `target`, or undefined.
tests/cli-imports.test.ts:24
↓ 1 callers
Function
findLicenseFile
(directory: string)
scripts/generate-third-party-notices.ts:174
↓ 1 callers
Function
findOnPath
( command: string, env: NodeJS.ProcessEnv, )
scripts/gclient-sync.ts:46
↓ 1 callers
Method
finish
(element: Element)
src/McpPage.ts:1670
↓ 1 callers
Function
flushBatch
()
src/processors/ChunkedTraceParser.ts:219
↓ 1 callers
Function
flushLogs
( logFile: fs.WriteStream, timeoutMs = 2000, )
src/utils/logger.ts:29
↓ 1 callers
Function
formatAncestorRuleHeader
(ancestor: AncestorCSSRule)
src/formatters/CssFormatter.ts:565
↓ 1 callers
Function
formatArgs
(msg: ConsoleMessageDetailed)
src/formatters/ConsoleFormatter.ts:401
↓ 1 callers
Function
formatArrayItems
(preview: Protocol.Runtime.ObjectPreview)
src/formatters/RemoteObjectFormatter.ts:115
↓ 1 callers
Function
formatAsyncFragment
( fragment: FormattableAsyncFragment, formatter: {isIgnored: IgnoreCheck}, )
src/formatters/ConsoleFormatter.ts:480
← previous
next →
701–800 of 1,492, ranked by callers