The Modern .NET Show

Testing Made Easy: Debbie O'Brien Explains Playwright and its Game-Changing MCP Server

Nov 14, 2025
Debbie O'Brien, a Microsoft engineer who builds Playwright community resources, breaks down Playwright and the MCP server. Short, clear takes on browser automation, CodeGen recording, and natural-language agents that drive browsers. Hear how AI uncovers edge cases, recreates bugs, and uses accessibility snapshots to find elements reliably.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Agents Use Real Browser Context

  • Playwright's MCP server lets AI-driven agents actually control a browser to explore pages and generate tests from real snapshots.
  • That gives the agent concrete page context instead of guessing element names, improving resilience.
ADVICE

Leverage AI To Find Edge Cases

  • Use AI-driven testing to discover edge cases you might miss, such as unexpected input types or casing variations.
  • Watch AI-driven runs visually to validate that generated checks match intended behavior before trusting them.
INSIGHT

Snapshots Reduce Hallucinations

  • MCP captures page snapshots and HTML via evaluateJavaScript, so generated tests reference real element attributes and roles.
  • That snapshot view reduces hallucination compared with purely language-driven generation.
Get the Snipd Podcast app to discover more snips from this episode
Get the app