Have you tried the Playwright libraries? Not the MCP, instead telling Claude Code to use the Node.js or Python Playwright libraries directly. I have had some really good results for this for gnarly frontend challenges.
Think of it as TDD.
It's more token efficient too since I don't need to load the full MCP description into my context.