Guide for verifying frontend changes using chrome-devtools MCP...
Always verify frontend changes using the chrome-devtools MCP.
Always check if the dev server is already running before asking the user to start it:
curl -s http://localhost:3003/api/readyz
Expected response when running:
{ "status": "ready" }
pnpm devchrome-devtools_navigate_page to http://localhost:3003
Use one of these tools to verify the UI:
chrome-devtools_take_screenshot - For visual inspectionchrome-devtools_take_snapshot - For text-based accessibility tree viewchrome-devtools_list_console_messages
Look for:
chrome-devtools_click - Click elementschrome-devtools_fill - Fill form inputschrome-devtools_hover - Test hover stateschrome-devtools_wait_for - Wait for specific text to appearchrome-devtools_resize_page)# 1. Check if dev server is running
curl -s http://localhost:3003/api/readyz
# 2. If running, navigate to the app
chrome-devtools_navigate_page to http://localhost:3003
# 3. Take a screenshot
chrome-devtools_take_screenshot
# 4. Check for errors
chrome-devtools_list_console_messages
# 5. Test specific functionality (if needed)
chrome-devtools_click on element
chrome-devtools_wait_for specific text