Built open source upgraded Playwright MCP to view DOM (for those who are using Playwright MCP)

My team and I upgraded Playwright MCP to give AI test agents better visibility into the DOM, and we open-sourced it.

If you’re building AI test agents and using Playwright MCP regularly, you have run into cases where it does not see all interactive elements on page.

The reason is that the standard Playwright MCP gives the LLM an ARIA snapshot, not the full set of interactable DOM elements. This abstraction can limit the agents' understanding of what elements do.

We added serialization of the full DOM tree to give the agent more complete context.

I’ll leave GitHub link in the comments.

Hope it helps

Posted Jun 3, 2026, 1:41 AM UTC

277
Loading comments…