web-debug-browser
Installation
SKILL.md
Web Debug Browser
Overview
Use Chrome DevTools MCP (chrome-devtools-mcp) to drive Chrome/Chromium for debugging and inspection tasks, with a default workflow that connects to a locally running Chrome instance via CDP on port 9222.
Default Connection (Local Chrome)
- Assumes Chrome is already running with remote debugging enabled on port 9222.
- If connection fails, ask the user to start Chrome with
--remote-debugging-port=9222and a dedicated--user-data-dir. - Verify the session with
list_pagesor by opening a page withnew_page.
Debugging Workflow
- Open page:
new_pageornavigate_page. - Capture refs:
take_snapshotand use elementuidvalues for actions. - Interact:
click,fill,press_key,hover,drag,upload_file,handle_dialog. - Wait/verify:
wait_for,take_snapshot,evaluate_script(e.g.,document.title,location.href). - Inspect DevTools output:
list_console_messages/get_console_message,list_network_requests/get_network_request. - Collect evidence:
take_screenshot(usefullPagewhen needed),performance_start_trace/performance_stop_trace,performance_analyze_insight. - Manage pages:
list_pages,select_page,close_page.