The Chrome DevTools Protocol is organized into 53 domains, each providing methods and events for specific browser functionality. This page covers the most commonly used domains.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/szymdzum/browser-debugger-cli/llms.txt
Use this file to discover all available pages before exploring further.
Discovery Commands
Before diving into specific domains, use these commands to explore:Core Domains
Runtime
Exposes JavaScript runtime - Evaluate expressions, get object properties, and work with the JavaScript execution context. Key Methods:Runtime.evaluate- Execute JavaScript expressionsRuntime.callFunctionOn- Call a function on an objectRuntime.getProperties- Get object propertiesRuntime.getIsolateId- Get V8 isolate ID
Page
Page lifecycle and navigation - Control page loading, navigation, screenshots, and lifecycle events. Key Methods:Page.navigate- Navigate to a URLPage.reload- Reload the pagePage.getNavigationHistory- Get navigation historyPage.captureScreenshot- Capture screenshot (usebdg dom screenshotinstead)Page.printToPDF- Generate PDF of page
Network
Network traffic monitoring - Inspect requests, responses, cookies, and caching. Key Methods:Network.getCookies- Get browser cookiesNetwork.setCookie- Set a cookieNetwork.deleteCookies- Delete cookiesNetwork.getAllCookies- Get all cookies (all URLs)Network.clearBrowserCache- Clear browser cacheNetwork.clearBrowserCookies- Clear all cookies
bdg network commands instead.
DOM
Document Object Model inspection - Query, modify, and traverse the DOM tree. Key Methods:DOM.getDocument- Get document root nodeDOM.querySelector- Query selector (returns nodeId)DOM.querySelectorAll- Query all matching elementsDOM.getAttributes- Get element attributesDOM.getOuterHTML- Get element HTMLDOM.focus- Focus an element
bdg dom commands which handle nodeId management automatically.
Input
Simulated user input - Dispatch keyboard, mouse, and touch events. Key Methods:Input.dispatchKeyEvent- Dispatch keyboard eventsInput.dispatchMouseEvent- Dispatch mouse eventsInput.insertText- Insert text at cursor
bdg dom fill and bdg dom click which handle element targeting automatically.
Debugging Domains
Console
Console message access - Enable console logging and message inspection. Key Methods:Console.enable- Enable console domainConsole.disable- Disable console domain
bdg console commands instead.
Debugger
JavaScript debugging - Set breakpoints, step through code, and evaluate in scope. Key Methods:Debugger.enable- Enable debuggerDebugger.setBreakpoint- Set breakpointDebugger.pause- Pause executionDebugger.resume- Resume executionDebugger.stepOver- Step over statement
Log
Log message access - Browser log entries and violations. Key Methods:Log.enable- Enable log domainLog.clear- Clear log
Performance Domains
Performance
Performance metrics - Timing, memory, and performance measurement. Key Methods:Performance.enable- Enable performance trackingPerformance.getMetrics- Get current metricsPerformance.disable- Disable performance tracking
Profiler
CPU profiling - Sampling profiler for JavaScript performance analysis. Key Methods:Profiler.enable- Enable profilerProfiler.start- Start CPU profilingProfiler.stop- Stop profiling and get data
Profiler.stop, not from the start method.
Examples:
HeapProfiler
Memory profiling - Heap snapshots and sampling heap profiler. Key Methods:HeapProfiler.enable- Enable heap profilerHeapProfiler.takeHeapSnapshot- Take heap snapshotHeapProfiler.startSampling- Start samplingHeapProfiler.stopSampling- Stop and get samples
takeHeapSnapshot.
Tracing
Performance tracing - Detailed performance traces for analysis. Key Methods:Tracing.start- Start tracingTracing.end- End tracingTracing.getCategories- Get trace categories
Tracing.dataCollected events after calling Tracing.end.
Accessibility
Accessibility
Accessibility tree inspection - Query accessibility properties and ARIA attributes. Key Methods:Accessibility.getFullAXTree- Get full accessibility treeAccessibility.getPartialAXTree- Get partial tree from nodeAccessibility.queryAXTree- Query accessibility tree
bdg dom a11y commands.
Visual Debugging
Overlay
Visual debugging overlays - Highlight elements, show layout information. Key Methods:Overlay.enable- Enable overlayOverlay.highlightNode- Highlight element (visual only)Overlay.hideHighlight- Clear highlightsOverlay.setShowViewportSizeOnResize- Show viewport size
highlightNode show visual feedback but return empty responses.
Examples:
Security & Auditing
Security
Security state inspection - Certificate info, mixed content, security issues. Key Methods:Security.enable- Enable security domainSecurity.setIgnoreCertificateErrors- Ignore cert errors
Audits
Automated audits - Accessibility, contrast, and other automated checks. Key Methods:Audits.enable- Enable auditsAudits.checkContrast- Check color contrast
Audits.issueAdded events, not method responses.
Examples:
bdg dom eval 'getComputedStyle(element).color' for direct contrast checking.
Storage
Storage
Storage inspection - IndexedDB, localStorage, sessionStorage, cache. Key Methods:Storage.getStorageKeyForFrame- Get storage keyStorage.clearDataForOrigin- Clear origin dataStorage.getCookies- Get cookies (alternative to Network.getCookies)
IndexedDB
IndexedDB inspection - Query and modify IndexedDB databases. Key Methods:IndexedDB.requestDatabaseNames- List databasesIndexedDB.requestDatabase- Get database metadata
CacheStorage
Cache Storage API - Service worker cache inspection. Key Methods:CacheStorage.requestCacheNames- List cachesCacheStorage.requestEntries- Get cache entries
Device Emulation
Emulation
Device and sensor emulation - Viewport, user agent, geolocation, device metrics. Key Methods:Emulation.setDeviceMetricsOverride- Set viewport sizeEmulation.setUserAgentOverride- Set user agentEmulation.setGeolocationOverride- Set geolocationEmulation.setTouchEmulationEnabled- Enable touch events
Advanced Domains
Target
Target management - Create, attach to, and manage browser targets (pages, workers). Key Methods:Target.getTargets- List all targetsTarget.createTarget- Create new pageTarget.attachToTarget- Attach to target
Browser
Browser-level operations - Version info, permissions, downloads. Key Methods:Browser.getVersion- Get browser versionBrowser.getBrowserCommandLine- Get launch argumentsBrowser.grantPermissions- Grant permissions
SystemInfo
System information - GPU, process info. Key Methods:SystemInfo.getInfo- Get system infoSystemInfo.getProcessInfo- Get process info
Complete Domain List
To see all 53 domains with descriptions and method counts:External Resources
- Chrome DevTools Protocol Documentation - Official CDP reference with all domains, methods, and events
- CDP Viewer - Interactive protocol explorer
Related Commands
- CDP Overview - How to use the
bdg cdpcommand bdg dom- High-level DOM operationsbdg network- Network request inspectionbdg console- Console message inspection

