Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebMCP-org/chrome-devtools-quickstart
/ functions
Functions
65 in github.com/WebMCP-org/chrome-devtools-quickstart
⨍
Functions
65
◇
Types & classes
18
↓ 26 callers
Function
formatNumber
* Formats a number with thousands separators.
benchmark/helpers.ts:590
↓ 17 callers
Method
callTool
* 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 callers
Function
extractText
( result: CompatibilityCallToolResult )
benchmark/helpers.ts:198
↓ 8 callers
Method
incrementToolCalls
(count?: number)
benchmark/helpers.ts:344
↓ 7 callers
Method
addTextCall
(usage: TokenUsage)
benchmark/helpers.ts:342
↓ 7 callers
Function
formatDiff
( ss: number, wm: number, isLowerBetter = true )
benchmark/helpers.ts:899
↓ 7 callers
Function
sendPrompt
( anthropic: Anthropic, prompt: string, config: { model: string } )
benchmark/helpers.ts:488
↓ 6 callers
Function
captureAndAnalyze
( mcp: MCPClientWrapper, anthropic: Anthropic, tokens: TokenAccumulator, options: ScreenshotAnalysisOp
benchmark/helpers.ts:548
↓ 6 callers
Function
sum
(key: keyof AgentBenchmarkResult)
benchmark/helpers.ts:804
↓ 5 callers
Function
stopDevServer
()
benchmark/simple-benchmark.ts:111
↓ 5 callers
Function
stopDevServer
()
benchmark/simple-benchmark-direct.ts:96
↓ 4 callers
Function
aggregateBenchmarkResults
( approach: string, results: AgentBenchmarkResult[] )
benchmark/helpers.ts:785
↓ 4 callers
Function
config
(model: string, serverUrl: string)
benchmark/helpers.ts:645
↓ 4 callers
Function
createTokenAccumulator
()
benchmark/helpers.ts:368
↓ 4 callers
Method
getResult
(approach: string)
benchmark/helpers.ts:345
↓ 4 callers
Function
printAgentApproachResults
( results: AggregatedBenchmarkResults )
benchmark/helpers.ts:836
↓ 3 callers
Function
calculateImageTokensFromBase64
( base64Data: string, mimeType: ImageMimeType )
benchmark/helpers.ts:154
↓ 3 callers
Function
setCounter
(count)
counter.js:3
↓ 3 callers
Function
sleep
(ms: number)
benchmark/helpers.ts:781
↓ 2 callers
Method
close
* Closes the MCP client connection.
benchmark/helpers.ts:322
↓ 2 callers
Method
connect
* Initializes the Chrome DevTools MCP server and establishes connection. * * @param options - Configuration options * @param options.headless
benchmark/helpers.ts:270
↓ 2 callers
Function
getImageDimensions
( base64Data: string, mimeType: ImageMimeType )
benchmark/helpers.ts:104
↓ 2 callers
Function
printAgentComparisonResults
( screenshot: AggregatedBenchmarkResults, webmcp: AggregatedBenchmarkResults, title = "COMPARISON" )
benchmark/helpers.ts:882
↓ 2 callers
Function
printAgentCostAnalysis
( screenshot: AggregatedBenchmarkResults, webmcp: AggregatedBenchmarkResults )
benchmark/helpers.ts:990
↓ 2 callers
Function
printComparisonResults
( screenshotResults: BenchmarkResult, webmcpResults: BenchmarkResult, title = "FINAL COMPARISON" )
benchmark/helpers.ts:656
↓ 2 callers
Function
printCostAnalysis
( screenshotResults: BenchmarkResult, webmcpResults: BenchmarkResult )
benchmark/helpers.ts:734
↓ 2 callers
Function
runAgentBenchmark
(options: BenchmarkOptions)
benchmark/simple-benchmark.ts:188
↓ 2 callers
Function
runAgentBenchmark
(options: BenchmarkOptions)
benchmark/multi-step-benchmark.ts:132
↓ 1 callers
Method
addImageCall
(usage: TokenUsage, imageTokens: number)
benchmark/helpers.ts:341
↓ 1 callers
Function
analyzeScreenshot
( anthropic: Anthropic, image: ExtractedImage, options: ScreenshotAnalysisOptions, config: { model: st
benchmark/helpers.ts:432
↓ 1 callers
Function
calculateImageTokens
(width: number, height: number)
benchmark/helpers.ts:100
↓ 1 callers
Function
extractImage
( result: CompatibilityCallToolResult )
benchmark/helpers.ts:225
↓ 1 callers
Function
formatBytes
* Formats bytes as a human-readable string.
benchmark/helpers.ts:597
↓ 1 callers
Method
incrementScreenshots
()
benchmark/helpers.ts:343
↓ 1 callers
Function
isValidImageMimeType
( mimeType: string )
benchmark/helpers.ts:177
↓ 1 callers
Function
main
* 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 callers
Function
main
()
benchmark/simple-benchmark.ts:281
↓ 1 callers
Function
main
* Main entry point for the benchmark. * * Initializes the MCP client, runs both approaches, and prints comparison results.
benchmark/simple-benchmark-direct.ts:315
↓ 1 callers
Function
main
()
benchmark/multi-step-benchmark.ts:233
↓ 1 callers
Function
runScreenshotApproach
* 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 callers
Function
runScreenshotApproach
* 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 callers
Function
runScreenshotBenchmark
()
benchmark/simple-benchmark.ts:261
↓ 1 callers
Function
runScreenshotBenchmark
()
benchmark/multi-step-benchmark.ts:209
↓ 1 callers
Function
runWebMCPApproach
* 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 callers
Function
runWebMCPApproach
* 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 callers
Function
runWebMCPBenchmark
()
benchmark/simple-benchmark.ts:273
↓ 1 callers
Function
runWebMCPBenchmark
()
benchmark/multi-step-benchmark.ts:221
↓ 1 callers
Function
setupCounter
(element)
counter.js:1
↓ 1 callers
Function
startDevServer
()
benchmark/simple-benchmark.ts:56
↓ 1 callers
Function
startDevServer
()
benchmark/simple-benchmark-direct.ts:41
Function
addImageCall
(usage: TokenUsage, imageTokens: number)
benchmark/helpers.ts:376
Function
addTextCall
(usage: TokenUsage)
benchmark/helpers.ts:383
Function
error
(message: string)
benchmark/helpers.ts:637
Function
execute
()
counter.js:14
Function
getResult
(approach: string)
benchmark/helpers.ts:396
Function
header
(title: string)
benchmark/helpers.ts:602
Function
incrementScreenshots
()
benchmark/helpers.ts:388
Function
incrementToolCalls
(count = 1)
benchmark/helpers.ts:392
Function
info
(message: string)
benchmark/helpers.ts:629
Method
isConnected
* Returns whether the client is connected.
benchmark/helpers.ts:332
Function
section
(title: string)
benchmark/helpers.ts:617
Function
step
(num: number, description: string)
benchmark/helpers.ts:625
Function
success
(message: string)
benchmark/helpers.ts:633
Function
task
(task: string, method: string)
benchmark/helpers.ts:650
Function
warn
(message: string)
benchmark/helpers.ts:641