MCPcopy Create free account

hub / github.com/WebMCP-org/chrome-devtools-quickstart / functions

Functions65 in github.com/WebMCP-org/chrome-devtools-quickstart

↓ 26 callersFunctionformatNumber
* Formats a number with thousands separators.
benchmark/helpers.ts:590
↓ 17 callersMethodcallTool
* Executes an MCP tool call with type-safe arguments. * * @param name - Tool name to call * @param args - Arguments to pass to the tool *
benchmark/helpers.ts:309
↓ 11 callersFunctionextractText
( result: CompatibilityCallToolResult )
benchmark/helpers.ts:198
↓ 8 callersMethodincrementToolCalls
(count?: number)
benchmark/helpers.ts:344
↓ 7 callersMethodaddTextCall
(usage: TokenUsage)
benchmark/helpers.ts:342
↓ 7 callersFunctionformatDiff
( ss: number, wm: number, isLowerBetter = true )
benchmark/helpers.ts:899
↓ 7 callersFunctionsendPrompt
( anthropic: Anthropic, prompt: string, config: { model: string } )
benchmark/helpers.ts:488
↓ 6 callersFunctioncaptureAndAnalyze
( mcp: MCPClientWrapper, anthropic: Anthropic, tokens: TokenAccumulator, options: ScreenshotAnalysisOp
benchmark/helpers.ts:548
↓ 6 callersFunctionsum
(key: keyof AgentBenchmarkResult)
benchmark/helpers.ts:804
↓ 5 callersFunctionstopDevServer
()
benchmark/simple-benchmark.ts:111
↓ 5 callersFunctionstopDevServer
()
benchmark/simple-benchmark-direct.ts:96
↓ 4 callersFunctionaggregateBenchmarkResults
( approach: string, results: AgentBenchmarkResult[] )
benchmark/helpers.ts:785
↓ 4 callersFunctionconfig
(model: string, serverUrl: string)
benchmark/helpers.ts:645
↓ 4 callersFunctioncreateTokenAccumulator
()
benchmark/helpers.ts:368
↓ 4 callersMethodgetResult
(approach: string)
benchmark/helpers.ts:345
↓ 4 callersFunctionprintAgentApproachResults
( results: AggregatedBenchmarkResults )
benchmark/helpers.ts:836
↓ 3 callersFunctioncalculateImageTokensFromBase64
( base64Data: string, mimeType: ImageMimeType )
benchmark/helpers.ts:154
↓ 3 callersFunctionsetCounter
(count)
counter.js:3
↓ 3 callersFunctionsleep
(ms: number)
benchmark/helpers.ts:781
↓ 2 callersMethodclose
* Closes the MCP client connection.
benchmark/helpers.ts:322
↓ 2 callersMethodconnect
* Initializes the Chrome DevTools MCP server and establishes connection. * * @param options - Configuration options * @param options.headless
benchmark/helpers.ts:270
↓ 2 callersFunctiongetImageDimensions
( base64Data: string, mimeType: ImageMimeType )
benchmark/helpers.ts:104
↓ 2 callersFunctionprintAgentComparisonResults
( screenshot: AggregatedBenchmarkResults, webmcp: AggregatedBenchmarkResults, title = "COMPARISON" )
benchmark/helpers.ts:882
↓ 2 callersFunctionprintAgentCostAnalysis
( screenshot: AggregatedBenchmarkResults, webmcp: AggregatedBenchmarkResults )
benchmark/helpers.ts:990
↓ 2 callersFunctionprintComparisonResults
( screenshotResults: BenchmarkResult, webmcpResults: BenchmarkResult, title = "FINAL COMPARISON" )
benchmark/helpers.ts:656
↓ 2 callersFunctionprintCostAnalysis
( screenshotResults: BenchmarkResult, webmcpResults: BenchmarkResult )
benchmark/helpers.ts:734
↓ 2 callersFunctionrunAgentBenchmark
(options: BenchmarkOptions)
benchmark/simple-benchmark.ts:188
↓ 2 callersFunctionrunAgentBenchmark
(options: BenchmarkOptions)
benchmark/multi-step-benchmark.ts:132
↓ 1 callersMethodaddImageCall
(usage: TokenUsage, imageTokens: number)
benchmark/helpers.ts:341
↓ 1 callersFunctionanalyzeScreenshot
( anthropic: Anthropic, image: ExtractedImage, options: ScreenshotAnalysisOptions, config: { model: st
benchmark/helpers.ts:432
↓ 1 callersFunctioncalculateImageTokens
(width: number, height: number)
benchmark/helpers.ts:100
↓ 1 callersFunctionextractImage
( result: CompatibilityCallToolResult )
benchmark/helpers.ts:225
↓ 1 callersFunctionformatBytes
* Formats bytes as a human-readable string.
benchmark/helpers.ts:597
↓ 1 callersMethodincrementScreenshots
()
benchmark/helpers.ts:343
↓ 1 callersFunctionisValidImageMimeType
( mimeType: string )
benchmark/helpers.ts:177
↓ 1 callersFunctionmain
* Main entry point for the benchmark. * * Initializes the MCP client, runs both approaches, and prints comparison results.
benchmark/multi-step-benchmark-direct.ts:354
↓ 1 callersFunctionmain
()
benchmark/simple-benchmark.ts:281
↓ 1 callersFunctionmain
* Main entry point for the benchmark. * * Initializes the MCP client, runs both approaches, and prints comparison results.
benchmark/simple-benchmark-direct.ts:315
↓ 1 callersFunctionmain
()
benchmark/multi-step-benchmark.ts:233
↓ 1 callersFunctionrunScreenshotApproach
* Runs the screenshot-based approach benchmark. * * This simulates a complex workflow where an AI agent must: * 1. Take screenshots to understand a
benchmark/multi-step-benchmark-direct.ts:81
↓ 1 callersFunctionrunScreenshotApproach
* Runs the screenshot-based approach benchmark. * * This simulates the traditional workflow where an AI agent must: * 1. Take screenshots to unders
benchmark/simple-benchmark-direct.ts:160
↓ 1 callersFunctionrunScreenshotBenchmark
()
benchmark/simple-benchmark.ts:261
↓ 1 callersFunctionrunScreenshotBenchmark
()
benchmark/multi-step-benchmark.ts:209
↓ 1 callersFunctionrunWebMCPApproach
* Runs the WebMCP tool-based approach benchmark. * * This demonstrates a multi-step semantic workflow where an AI agent: * 1. Lists available WebMC
benchmark/multi-step-benchmark-direct.ts:218
↓ 1 callersFunctionrunWebMCPApproach
* Runs the WebMCP tool-based approach benchmark. * * This demonstrates the semantic approach where an AI agent: * 1. Lists available WebMCP tools e
benchmark/simple-benchmark-direct.ts:247
↓ 1 callersFunctionrunWebMCPBenchmark
()
benchmark/simple-benchmark.ts:273
↓ 1 callersFunctionrunWebMCPBenchmark
()
benchmark/multi-step-benchmark.ts:221
↓ 1 callersFunctionsetupCounter
(element)
counter.js:1
↓ 1 callersFunctionstartDevServer
()
benchmark/simple-benchmark.ts:56
↓ 1 callersFunctionstartDevServer
()
benchmark/simple-benchmark-direct.ts:41
FunctionaddImageCall
(usage: TokenUsage, imageTokens: number)
benchmark/helpers.ts:376
FunctionaddTextCall
(usage: TokenUsage)
benchmark/helpers.ts:383
Functionerror
(message: string)
benchmark/helpers.ts:637
Functionexecute
()
counter.js:14
FunctiongetResult
(approach: string)
benchmark/helpers.ts:396
Functionheader
(title: string)
benchmark/helpers.ts:602
FunctionincrementScreenshots
()
benchmark/helpers.ts:388
FunctionincrementToolCalls
(count = 1)
benchmark/helpers.ts:392
Functioninfo
(message: string)
benchmark/helpers.ts:629
MethodisConnected
* Returns whether the client is connected.
benchmark/helpers.ts:332
Functionsection
(title: string)
benchmark/helpers.ts:617
Functionstep
(num: number, description: string)
benchmark/helpers.ts:625
Functionsuccess
(message: string)
benchmark/helpers.ts:633
Functiontask
(task: string, method: string)
benchmark/helpers.ts:650
Functionwarn
(message: string)
benchmark/helpers.ts:641