Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChromeDevTools/chrome-devtools-mcp
/ functions
Functions
1,397 in github.com/ChromeDevTools/chrome-devtools-mcp
⨍
Functions
1,397
◇
Types & classes
306
↓ 1 callers
Method
#handleThirdPartyDeveloperTools
()
src/McpResponse.ts:628
↓ 1 callers
Method
#handleWebMCP
()
src/McpResponse.ts:639
↓ 1 callers
Method
#hasRedundantTextChildren
(node: TextSnapshotNode)
src/formatters/SnapshotFormatter.ts:60
↓ 1 callers
Method
#init
()
src/index.ts:328
↓ 1 callers
Method
#initBrowser
()
src/BrowserManager.ts:225
↓ 1 callers
Method
#initBrowserState
(browser: Browser)
src/McpContext.ts:379
↓ 1 callers
Method
#initDevToolsUniverseNoThrow
()
src/McpPage.ts:420
↓ 1 callers
Method
#initFocusEmulationNoThrow
()
src/McpPage.ts:411
↓ 1 callers
Method
#insertExtraNodes
( page: McpPage, idToNode: Map<string, TextSnapshotNode>, seenUniqueIds: Set<string>, snapshot
src/TextSnapshot.ts:198
↓ 1 callers
Method
#isAncestorOrSelf
(other: TaskQueue)
src/utils/TaskRunner.ts:66
↓ 1 callers
Method
#launch
()
src/BrowserManager.ts:236
↓ 1 callers
Method
#loadDetailedData
()
src/formatters/NetworkFormatter.ts:98
↓ 1 callers
Method
#loadNetworkResource
(url: URL)
src/McpContext.ts:1222
↓ 1 callers
Method
#loadSnapshot
( absolutePath: string, uid: number, )
src/processors/HeapSnapshotManager.ts:478
↓ 1 callers
Method
#logToolActiveIfNeeded
()
src/telemetry/ClearcutLogger.ts:277
↓ 1 callers
Method
#lookupCause
( devTools: TargetUniverse | undefined, error: RemoteObjectLike, targetId: string, session?: C
src/devtools/DevtoolsUtils.ts:441
↓ 1 callers
Method
#matchUISourceCode
* Finds the workspace source code for a script or original source URL. * An exact URL match wins; otherwise the URL is matched as a path suffix so
src/LogpointManager.ts:406
↓ 1 callers
Method
#mock
(input: NetworkMockInput)
src/NetworkOverrideManager.ts:178
↓ 1 callers
Method
#nodeToJSON
(node: TextSnapshotNode)
src/formatters/SnapshotFormatter.ts:78
↓ 1 callers
Method
#queueFor
* The queue the call runs on. `'none'` tools run outside the runner. * `'page'` tools run on the queue of the page named by `rawArgs.pageId` * w
src/ToolHandler.ts:462
↓ 1 callers
Method
#raceWithTimeout
* Races a promise against TOOL_CALL_TIMEOUT_MS and signal abort, calling * onTimeout() only if the timer wins, never on abort. * The loser of th
src/ToolHandler.ts:323
↓ 1 callers
Method
#redactNetworkHeaders
( headers: Record<string, string>, )
src/formatters/NetworkFormatter.ts:202
↓ 1 callers
Method
#registerTool
(tool: AnyToolDefinition)
src/index.ts:416
↓ 1 callers
Method
#reloadConfig
( watcher: ConfigWatcher, configPath: string, content: string, )
src/index.ts:260
↓ 1 callers
Method
#removeListeners
()
src/NetworkOverrideManager.ts:369
↓ 1 callers
Method
#resolveElementHandle
( node: TextSnapshotNode, uid: string, )
src/McpPage.ts:1231
↓ 1 callers
Method
#resolveWebAuthnOptions
( config: WebAuthnAuthenticatorConfig, )
src/McpPage.ts:513
↓ 1 callers
Method
#runBrowserTool
( tool: ToolDefinition | DefinedPageTool, params: Record<string, unknown>, response: McpResponse,
src/ToolHandler.ts:383
↓ 1 callers
Method
#runBrowserlessTool
* Browserless tools never establish a browser connection, so they also never * wait for one under TOOL_CALL_TIMEOUT_MS.
src/ToolHandler.ts:361
↓ 1 callers
Method
#setLazySourceMapLoading
* Source maps load lazily by default, so after a reload the original * sources of a rebuilt bundle would not re-appear in the workspace and a *
src/LogpointManager.ts:330
↓ 1 callers
Method
#setToolCallRequestHandler
* Overrides the SDK's `tools/call` handler so enabled and input-schema * checks run inside `ToolHandler.handle()` inside the task runner.
src/index.ts:399
↓ 1 callers
Method
#snapshot
* Reads the current state of a breakpoint, so that the result reflects * the normalized location and the re-binding done by the breakpoint * man
src/LogpointManager.ts:297
↓ 1 callers
Function
abbreviateClassName
(description: string)
src/formatters/RemoteObjectFormatter.ts:79
↓ 1 callers
Function
addCrossLinks
(text: string, tools: ToolWithAnnotations[])
scripts/generate-docs.ts:60
↓ 1 callers
Function
addJavaScriptRoute
( routePath: string, source: string, onRequest?: () => void, )
tests/network_overrides.test.ts:21
↓ 1 callers
Method
analyzeContexts
( filePath: string, )
src/processors/HeapSnapshotManager.ts:327
↓ 1 callers
Method
analyzeHeapSnapshotContexts
( filePath: string, )
src/McpContext.ts:1189
↓ 1 callers
Method
append
()
src/devtools/McpHostBindingAdapter.ts:50
↓ 1 callers
Function
appendCssSectionsToString
( writer: IndentedWriter, styles: StructuredCssStyles, )
src/formatters/CssFormatter.ts:651
↓ 1 callers
Function
appendKeyframesRule
( writer: IndentedWriter, rule: KeyframesRule, )
src/formatters/CssFormatter.ts:631
↓ 1 callers
Function
appendRuleWithAncestors
( writer: IndentedWriter, rule: Exclude<CascadeRule, KeyframesRule>, )
src/formatters/CssFormatter.ts:597
↓ 1 callers
Method
applyConfig
* Applies a new config to the running server. Only reloadable options are * applied, all other options keep the value the server was started with.
src/index.ts:191
↓ 1 callers
Function
assertFailsWithCdpError
( promise: Promise<unknown>, )
tests/McpPage.test.ts:2432
↓ 1 callers
Function
assertFetchIsBlocked
( url: string, received: string[], response: McpResponse, context: McpContext, args: ParsedArguments
tests/network_blocking.test.ts:127
↓ 1 callers
Function
assertLogpoint
( actual: Logpoint, expected: Omit<Logpoint, 'generatedLocations'> & { generatedUrl: string; gener
tests/LogpointManager.test.ts:292
↓ 1 callers
Function
assertServiceWorkerRequestsAreBlocked
( server: TestServer, received: string[], response: McpResponse, context: McpContext, args: ParsedAr
tests/network_blocking.test.ts:145
↓ 1 callers
Method
attachDevToolsData
(data: DevToolsData)
src/tools/ToolDefinition.ts:323
↓ 1 callers
Method
attachWebAuthnAuthenticator
( authenticator: WebAuthnAuthenticatorState | undefined, )
src/tools/ToolDefinition.ts:319
↓ 1 callers
Function
attachWithCallback
(bridge: DevToolsCommentBridge)
tests/devtools/DevToolsCommentBridge.test.ts:204
↓ 1 callers
Function
baseName
(url: string)
src/LogpointManager.ts:157
↓ 1 callers
Method
browser
* The browser of the current connection. Throws if no browser connection was * established yet, see {@link McpContext.ensureBrowser}.
src/McpContext.ts:217
↓ 1 callers
Method
browser
()
tests/mocks.ts:372
↓ 1 callers
Function
bucketize
(value: number)
src/telemetry/transformation.ts:199
↓ 1 callers
Function
buildDisabledMessage
( toolName: string, flag: string, categoryLabel?: string, )
src/ToolHandler.ts:61
↓ 1 callers
Function
chainOf
(request: HTTPRequest)
tests/formatters/NetworkFormatter.test.ts:445
↓ 1 callers
Function
cleanupTest
(ctx: TestContext)
tests/e2e/telemetry.test.ts:140
↓ 1 callers
Method
closeHeapSnapshot
(filePath: string)
src/McpContext.ts:1195
↓ 1 callers
Function
collapseWhitespace
(value: string)
src/McpResponse.ts:1894
↓ 1 callers
Function
collectAncestorRules
* Collects enclosing ancestor rules (`@media`, `@container`, `@supports`, * `@layer`, `@scope`, `@starting-style`, `@navigation`, and CSS nesting) fo
src/formatters/CssFormatter.ts:361
↓ 1 callers
Function
collectConsole
Collects console messages of the page from now on.
tests/LogpointManager.test.ts:253
↓ 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
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:372
↓ 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:454
↓ 1 callers
Function
createBrowserlessTool
( handler: BrowserlessToolDefinition['handler'], )
tests/ToolHandler.test.ts:2653
↓ 1 callers
Function
createContainerQueryAncestor
( containerQuery?: ContainerQuery, containerDetails?: Map<ContainerQuery, ResolvedContainerDetails>, )
src/formatters/CssFormatter.ts:340
↓ 1 callers
Function
createContext
()
tests/ToolHandler.test.ts:652
↓ 1 callers
Function
createContext
()
tests/roots.test.ts:173
↓ 1 callers
Function
createExclusiveTool
( name: string, handler: () => Promise<void>, )
tests/ToolHandler.test.ts:785
↓ 1 callers
Function
createGlobalTool
( handler: ToolDefinition['handler'], options: { name?: string; concurrency?: Tool
tests/ToolHandler.test.ts:630
↓ 1 callers
Function
createHandler
(tool: AnyToolDefinition, mockContext: McpContext)
tests/ToolHandler.test.ts:661
↓ 1 callers
Function
createLayerAncestor
(layer?: { text?: string; })
src/formatters/CssFormatter.ts:318
↓ 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:2748
↓ 1 callers
Function
createMockAXNode
( role: string, options: { name?: string; loaderId?: string; backendNodeId?: number; child
tests/mocks.ts:116
↓ 1 callers
Function
createMockAuthenticatorId
( id: string, )
tests/mocks.ts:561
↓ 1 callers
Function
createMockCSSAtRule
( type: string, options: { name?: string; subsection?: string; properties: DevTools.CSSPropert
tests/mocks.ts:859
↓ 1 callers
Function
createMockCSSFunctionRule
( nameWithParams: string, options: { functionName?: string; properties: DevTools.CSSProperty.CSSPr
tests/mocks.ts:968
↓ 1 callers
Function
createMockCSSInlineStyle
( properties: DevTools.CSSProperty.CSSProperty[], )
tests/mocks.ts:699
↓ 1 callers
Function
createMockCSSKeyframesRule
( name: string, keyframes: Array<{ key: string; properties: DevTools.CSSProperty.CSSProperty[];
tests/mocks.ts:827
↓ 1 callers
Function
createMockCSSPositionTryRule
( name: string, options: { active?: boolean; properties: DevTools.CSSProperty.CSSProperty[]; s
tests/mocks.ts:888
↓ 1 callers
Function
createMockCSSRegisteredProperty
( name: string, options: { syntax?: string; inherits?: boolean; initialValue?: string; sou
tests/mocks.ts:914
↓ 1 callers
Function
createMockConsoleMessage
( options: { type?: ConsoleMessageType; text?: string; args?: JSHandle[]; location?: Console
tests/mocks.ts:1415
↓ 1 callers
Function
createMockConsoleMessage
(text: string)
tests/collectors/PageCollector.test.ts:29
↓ 1 callers
Function
createMockContext
(options?: { browser?: sinon.SinonStubbedInstance<Browser>; config?: ServerConfig; heapSnapshotMan
tests/McpContext.test.ts:107
↓ 1 callers
Function
createMockDominatorChain
()
tests/mocks.ts:1169
↓ 1 callers
Function
createMockDuplicateStrings
()
tests/mocks.ts:1229
↓ 1 callers
Function
createMockExtension
( options: { id?: string; path?: string; name?: string; version?: string; enabled?: bool
tests/mocks.ts:1079
↓ 1 callers
Function
createMockHTTPRequest
( options: { url?: string; resourceType?: ResourceType; } = {}, )
tests/mocks.ts:250
↓ 1 callers
Function
createMockHeapSnapshotAggregate
( options: Partial<HeapSnapshotAggregate> = {}, )
tests/mocks.ts:1403
↓ 1 callers
Function
createMockHeapSnapshotAggregateData
()
tests/mocks.ts:1141
↓ 1 callers
Function
createMockHeapSnapshotEdge
( options: Partial<DevTools.HeapSnapshotModel.HeapSnapshotModel.Edge> = {}, )
tests/mocks.ts:1391
↓ 1 callers
Function
createMockItemsRange
()
tests/mocks.ts:1149
↓ 1 callers
Function
createMockMessage
( type: string, text: string, argsCount = 0, )
tests/formatters/ConsoleFormatterGrouping.test.ts:16
← previous
next →
601–700 of 1,397, ranked by callers