Control and inspect Chrome browser using Chrome DevTools Protocol - navigate pages, debug network requests, analyze performance, take screenshots, interact with elements, and automate browser tasks.
Complete Chrome browser automation and debugging using the Chrome DevTools Protocol. This skill provides access to all Chrome DevTools capabilities for web development, testing, and debugging tasks.
For detailed instructions on each operation, see:
navigate_pageclick, fill, press_keytake_screenshot or list_console_messageslist_network_requestsperformance_start_traceperformance_stop_traceperformance_analyze_insightlist_console_messageslist_network_requestsevaluate_scriptfill or use fill_form for bulk entryupload_fileclick - Click on elementsdrag - Drag and drop operationsfill - Enter text in fieldsfill_form - Fill multiple form fieldshandle_dialog - Manage alerts/dialogshover - Hover over elementspress_key - Keyboard inputupload_file - File upload handlingnavigate_page - Go to URLsnew_page - Create new tabsclose_page - Close tabslist_pages - View open tabsselect_page - Switch tabswait_for - Wait for conditionsemulate - Device/condition simulationresize_page - Viewport sizingperformance_start_trace - Begin recordingperformance_stop_trace - End recordingperformance_analyze_insight - Get recommendationslist_network_requests - View all requestsget_network_request - Get request detailsevaluate_script - Run JavaScripttake_screenshot - Capture visualstake_snapshot - Capture DOMlist_console_messages - View consoleget_console_message - Get specific messageREQUIRED: Before using ANY Chrome DevTools tools, you MUST load the relevant reference file(s) using the Read tool. These references contain essential operational instructions that are NOT included in this overview.
When the user asks to work with Chrome DevTools:
references/NAVIGATION.md FIRSTreferences/INTERACTION.md FIRSTreferences/DEBUGGING.md FIRSTreferences/PERFORMANCE.md FIRSTreferences/EMULATION.md FIRSTreferences/VISUAL.md FIRSTDO NOT attempt to use Chrome DevTools tools without first loading and reading the relevant reference documentation.
wait_for to ensure page readinessUser: "Take a screenshot of example.com"
Me: Uses navigate_page → wait_for → take_screenshot
User: "Fill out the login form on staging.example.com"
Me: Uses navigate_page → fill_form → click → list_console_messages
User: "Check the performance of our homepage"
Me: Uses performance_start_trace → navigate_page → performance_stop_trace → performance_analyze_insight
User: "Why is the API call failing on /dashboard?"
Me: Uses navigate_page → list_network_requests → get_network_request (for failed request)
User: "How does the site look on iPhone 13?"
Me: Uses emulate (iPhone 13) → navigate_page → take_screenshot
The Chrome DevTools MCP server should be configured in Claude Code's MCP settings:
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": ["chrome-devtools-mcp@latest"]
}
}
}
Optional configuration flags:
--headless false - Show browser window--categoryEmulation - Enable emulation tools--categoryPerformance - Enable performance tools--categoryNetwork - Enable network tools