MCPcopy Create free account

hub / github.com/ChromeDevTools/chrome-devtools-mcp / functions

Functions1,581 in github.com/ChromeDevTools/chrome-devtools-mcp

↓ 1 callersFunctiongetIssueDescription
(fileName: string)
src/devtools/issueDescriptions.ts:52
↓ 1 callersFunctiongetLegacyExtension
* Resolves the output extension for the legacy ffmpeg-based recorder. * * Matches the extension case-insensitively so e.g. `.WEBM` is recognized as
src/tools/screencast.ts:41
↓ 1 callersFunctiongetMatchingSelectors
* Returns the subset of selectors in a comma-separated selector group that * actually matched the target element. Returns undefined if single selecto
src/formatters/CssFormatter.ts:305
↓ 1 callersFunctiongetMockIssueWithDetails
(details: object | null)
tests/formatters/IssueFormatter.test.ts:51
↓ 1 callersFunctiongetNameProperty
(object)
scripts/eslint_rules/max-tool-name-length-rule.js:55
↓ 1 callersFunctiongetNodeKey
( value: Record<string, unknown>, nodes: Map<string, LighthouseAuditNode>, )
src/tools/lighthouse.ts:80
↓ 1 callersFunctiongetNumber
(value: unknown, key: string)
scripts/generate-third-party-notices.ts:68
↓ 1 callersMethodgetPWAState
(options: GetPWAStateOptions)
src/McpContext.ts:679
↓ 1 callersFunctiongetPackageDir
Returns the absolute directory of the npm package that contains `file`.
scripts/generate-third-party-notices.ts:166
↓ 1 callersFunctiongetPageOrFrame
( page: Page, frames: Set<Frame>, )
src/tools/script.ts:316
↓ 1 callersFunctiongetPagePixelSize
* Returns the size of the page viewport in device pixels.
src/tools/screencast.ts:59
↓ 1 callersFunctiongetProcessCommandLine
(pid: number)
src/daemon/utils.ts:276
↓ 1 callersFunctiongetPropertyName
(prop)
scripts/eslint_rules/require-explicit-fake-timers-rule.js:17
↓ 1 callersFunctiongetRegistry
()
src/bin/check-latest-version.ts:14
↓ 1 callersFunctiongetRemovalTarget
(node, hook)
scripts/eslint_rules/no-sinon-restore-in-hooks-rule.js:37
↓ 1 callersFunctiongetReturnedObject
* Returns the object literal a tool factory returns, for both * `() => ({...})` and `() => { return {...}; }`.
scripts/eslint_rules/max-tool-name-length-rule.js:31
↓ 1 callersMethodgetSearchPaths
(env: NodeJS.ProcessEnv = process.env)
src/config/ConfigLocator.ts:43
↓ 1 callersFunctiongetSourceBox
( page: Page, element: ElementHandle | undefined, fullPage: boolean, )
src/tools/screenshot.ts:27
↓ 1 callersFunctiongetSpec
(name: string)
tests/cli.test.ts:1876
↓ 1 callersFunctiongetStaticStringValue
(node)
scripts/eslint_rules/require-explicit-fake-timers-rule.js:30
↓ 1 callersFunctiongetStylesAndSelectorsForUid
( uid: string, mcpPage: McpPage, )
tests/McpPage.test.ts:1903
↓ 1 callersMethodgetTargetInfos
* Fetches current target info for all targets from the browser, keyed by * target id. Unlike Puppeteer's cached target info, this reflects title
src/McpContext.ts:706
↓ 1 callersFunctiongetTargetSubtype
(target: Target)
src/McpContext.ts:141
↓ 1 callersFunctiongetToolsAndCategories
(tools: AnyToolDefinition[])
scripts/generate-docs.ts:339
↓ 1 callersFunctiongetToolsWithFilteredCategories
( filterOutCategories: ToolCategory[] = [], )
tests/McpServer.test.ts:1482
↓ 1 callersFunctiongetUidForNode
(mcpPage: McpPage, matcher: string)
tests/McpPage.test.ts:411
↓ 1 callersFunctiongetWebWorker
( context: Context, serviceWorkerId: string, )
src/tools/script.ts:333
↓ 1 callersFunctionhandlePageToolCall
( concurrency: DefinedPageTool['concurrency'], )
tests/ToolHandler.test.ts:2764
↓ 1 callersFunctionhandleRequest
(msg: DaemonMessage)
src/daemon/daemon.ts:158
↓ 1 callersFunctionhandleResponse
( response: CallToolResult, format: 'json' | 'md', )
src/daemon/client.ts:348
↓ 1 callersFunctionhasEquivalentType
(zodType: ZodType, value: unknown)
src/telemetry/transformation.ts:221
↓ 1 callersFunctionhasOffByDefaultConditions
(tool: ToolWithAnnotations)
scripts/generate-docs.ts:88
↓ 1 callersFunctionhasOptionChanged
( gate: OptionGate, previousArgs: ParsedArguments, nextArgs: ParsedArguments, )
src/McpContext.ts:100
↓ 1 callersFunctionhasOptionChildren
(aXNode: TextSnapshotNode)
src/tools/input.ts:326
↓ 1 callersFunctionhasPartialIpv4Hostname
* Checks whether a URLPattern string has a partial IPv4 wildcard in the * hostname (for example `127.0.0.*`, `*.0.0.1`, `*1*`, or `{127.0.0.*}`), *
src/utils/url.ts:215
↓ 1 callersFunctionhasValidHeapSnapshotExtension
(filePath: string)
src/processors/HeapSnapshotManager.ts:127
↓ 1 callersFunctionhasWatchdogChild
(serverPid: number)
tests/e2e/telemetry.test.ts:236
↓ 1 callersFunctionhasWindowsDaemonPipe
(sessionId: string)
src/daemon/utils.ts:254
↓ 1 callersFunctionhaveUniqueNames
(tools: Array<{name: string}>)
scripts/update_metrics.ts:25
↓ 1 callersFunctionhtml
(body: string)
tests/network_blocking.test.ts:74
↓ 1 callersMethodid
()
tests/mocks.ts:231
↓ 1 callersFunctioninferContentType
(filePath: string)
src/NetworkOverrideManager.ts:128
↓ 1 callersFunctioninitializeAndLaunchBrowser
(child: Server)
tests/shutdown.test.ts:130
↓ 1 callersFunctioninspectorUrlFrom
( transport: StdioClientTransport, )
scripts/profile/inspector.ts:133
↓ 1 callersMethodinstallPWA
(options: InstallPWAOptions)
src/McpContext.ts:647
↓ 1 callersFunctioninvalidKeyMessage
(key: string)
src/utils/keyboard.ts:275
↓ 1 callersMethodisAttached
(devtoolsPage: Page)
src/devtools/DevToolsCommentBridge.ts:35
↓ 1 callersFunctionisAuthenticatorId
( id: unknown, )
tests/mocks.ts:585
↓ 1 callersFunctionisBackendNodeId
( id: unknown, )
src/McpPage.ts:180
↓ 1 callersFunctionisBackendNodeId
( id: unknown, )
tests/mocks.ts:654
↓ 1 callersFunctionisBrowserlessTool
( tool: AnyToolDefinition, )
src/tools/ToolDefinition.ts:710
↓ 1 callersFunctionisCapabilityEnabled
( gate: CapabilityGate, serverArgs: ParsedArguments, )
src/tools/ToolDefinition.ts:884
↓ 1 callersFunctionisContextValid
(state: LocalState)
src/telemetry/persistence.ts:32
↓ 1 callersFunctionisDaemonProcess
(pid: number, sessionId: string)
src/daemon/utils.ts:308
↓ 1 callersFunctionisEnoent
(error: unknown)
src/daemon/utils.ts:92
↓ 1 callersFunctionisIgnoredTargetError
(err: unknown)
src/collectors/ServiceWorkerCollector.ts:252
↓ 1 callersFunctionisInvalidUrlError
(error: unknown)
src/tools/lighthouse.ts:51
↓ 1 callersFunctionisJsonLike
(remoteObject: Protocol.Runtime.RemoteObject)
src/formatters/ConsoleFormatter.ts:66
↓ 1 callersFunctionisLayoutOnlyNode
* InlineTextBox nodes are layout line fragments of a StaticText node. They * repeat the parent text, have no backendNodeId and cannot be targeted by
src/TextSnapshot.ts:25
↓ 1 callersFunctionisLiteralOptionValue
(token: string)
src/config/cli-commands.ts:267
↓ 1 callersFunctionisLocalBrowser
(browser: Browser)
src/ToolHandler.ts:161
↓ 1 callersFunctionisLocalMachineHostname
* Checks whether a `URL#hostname` is the host name of the local machine or an * address of one of its network interfaces.
src/utils/url.ts:86
↓ 1 callersFunctionisLocalNodeModulesScript
(scriptPath: string, cwd: string)
src/config/ConfigParser.ts:30
↓ 1 callersFunctionisPageScopedTool
( tool: AnyToolDefinition, )
src/tools/ToolDefinition.ts:704
↓ 1 callersFunctionisPlaceholderTitle
* Chrome reports a URL-derived placeholder as the target title until the * document provides one. The placeholder omits the `http://` / `https://` *
src/McpPage.ts:172
↓ 1 callersFunctionisPlainObject
(value: unknown)
src/config/ConfigParser.ts:59
↓ 1 callersFunctionisPrimaryPageTarget
(target: Target, url: string)
tests/tools/pwa.test.ts:23
↓ 1 callersFunctionisProcessAlive
(pid: number)
scripts/profile/footprint_mcp.ts:302
↓ 1 callersFunctionisProcessAlive
(pid: number)
tests/e2e/lazy-startup.test.ts:29
↓ 1 callersFunctionisPuppeteerActivePortPermissionError
( error: unknown, )
src/utils/errorHandling.ts:24
↓ 1 callersMethodisRelatedTo
True when `other` is this queue, an ancestor, or a descendant.
src/utils/TaskRunner.ts:62
↓ 1 callersFunctionisRestrictedSource
Matches any import source that starts with one of the restricted packages.
scripts/eslint_rules/no-direct-third-party-imports-rule.js:82
↓ 1 callersMethodisRunningPerformanceTrace
()
src/McpContext.ts:683
↓ 1 callersFunctionisScenarioModule
(value: unknown)
scripts/profile/utils.ts:65
↓ 1 callersFunctionisSession
(value: unknown)
src/formatters/ConsoleFormatter.ts:55
↓ 1 callersFunctionisSinonRestoreCall
(node)
scripts/eslint_rules/no-sinon-restore-in-hooks-rule.js:9
↓ 1 callersFunctionisSubtestsFailedError
(error: unknown)
tests/resultsink-reporter.ts:60
↓ 1 callersFunctionisThirdPartyBarrel
Returns true when the file is inside src/third_party/.
scripts/eslint_rules/no-direct-third-party-imports-rule.js:89
↓ 1 callersFunctionisUseFakeTimersCall
* @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0
scripts/eslint_rules/require-explicit-fake-timers-rule.js:7
↓ 1 callersFunctionisValidTime
(time?: unknown)
src/telemetry/persistence.ts:22
↓ 1 callersFunctionisVirtualModule
(modulePath: string)
scripts/generate-third-party-notices.ts:126
↓ 1 callersFunctionisZodType
(type: string)
src/telemetry/transformation.ts:73
↓ 1 callersFunctionjsonObjectTransform
( arg: string | undefined, )
src/tools/ToolDefinition.ts:856
↓ 1 callersFunctionlaunchAndMeasure
( configuration: FootprintConfiguration, iteration: number, options: FootprintOptions, rootDir: string
scripts/profile/footprint_mcp.ts:331
↓ 1 callersMethodlaunchPWA
(options: LaunchPWAOptions)
src/McpContext.ts:665
↓ 1 callersMethodlighthouseNavigation
(flags?: Flags)
src/McpPage.ts:1704
↓ 1 callersMethodlighthouseSnapshot
(flags?: Flags)
src/McpPage.ts:1710
↓ 1 callersMethodlines
()
src/formatters/CssFormatter.ts:241
↓ 1 callersFunctionlistProcesses
()
scripts/profile/footprint_mcp.ts:139
↓ 1 callersFunctionlistToolNames
(extraArgs: string[] = [])
tests/McpServer.test.ts:555
↓ 1 callersFunctionloadResponseFactory
* Loads the response classes on first use, because they import the browser * bundle through the formatters.
src/ToolHandler.ts:72
↓ 1 callersFunctionloadScenario
(scenarioPath: string)
scripts/eval_gemini.ts:30
↓ 1 callersFunctionloadScenario
(filePath: string)
scripts/profile/profile_mcp.ts:39
↓ 1 callersFunctionlocalhostRoute
(url: string)
tests/tools/webauthn.test.ts:100
↓ 1 callersMethodlocate
( env: NodeJS.ProcessEnv = process.env, checkIsFile: (filePath: string) => boolean = isFile, )
src/config/ConfigLocator.ts:73
↓ 1 callersMethodlocate
( env = this.#env, checkIsFile = (filePath: string) => this.#files.has(filePath), )
tests/config/ConfigLocator.test.ts:49
↓ 1 callersFunctionlocationKey
( url: string, lineNumber: number, columnNumber: number | undefined, )
src/LogpointManager.ts:61
↓ 1 callersFunctionlogDisclaimers
(args: ParsedArguments)
src/utils/disclaimers.ts:22
↓ 1 callersFunctionlogError
()
tests/tools/console.test.ts:679
↓ 1 callersFunctionmain
()
src/telemetry/watchdog/main.ts:89
← previousnext →901–1,000 of 1,581, ranked by callers