Use the code V3BETA to get 30% off the all access license while v3 is in beta.
All updates
December 5, 2025

Playwright and Playwright MCP

End-to-end testing with Playwright and AI-powered visual testing with Playwright MCP.

Posted by

EW

Eelco Wiersma

@eelcodotdev

Both TanStack Start and Next.js starter kits now come with a fully configured Playwright testing setup out of the box. This release brings comprehensive end-to-end testing capabilities and AI-powered visual testing through Playwright MCP.

What's new?

Playwright E2E Testing Setup

Both TanStack Start and Next.js starter kits now come with a fully configured Playwright testing setup out of the box. This includes:

Getting started is as simple as running npm run test:e2e to launch your test suite. The setup handles authentication flows, page navigation, form interactions, and visual regression testing right out of the gate.

Playwright MCP - Giving AI Eyes

Playwright MCP (Model Context Protocol) is a game-changer for AI-assisted development. It literally gives AI assistants like Claude the ability to "see" and interact with your web application in real-time.

How it works:

Playwright MCP provides AI assistants with the ability to:

Why this matters for UI development:

Traditional AI assistance is limited to code - it can read your JSX/TSX but can't see what actually renders. With Playwright MCP, AI can:

  1. Verify implementations visually - See if your code produces the intended UI
  2. Catch visual bugs - Spot layout issues, styling problems, and responsive breakpoints
  3. Improve accessibility - Analyze the rendered output for accessibility issues
  4. Write better tests - Generate accurate selectors based on what it actually sees
  5. Debug faster - Take screenshots at failure points to understand what went wrong
  6. Validate cross-browser compatibility - Test across different browsers and devices

This dramatically improves the quality and accuracy of UI-related tasks. Instead of guessing whether a component looks right, AI can now verify it visually, just like a human QA engineer would.

Getting Started

To use Playwright MCP with Claude Code, install the Playwright MCP server:

claude mcp add playwright npx @playwright/mcp@latest

Now your AI assistant can visually verify every UI change it makes, ensuring pixel-perfect implementations and catching issues before they reach production.