Accessibility Tree Access for ChatKit iframe (E2E Testing Support)

I’d like to enable E2E testing via Chrome DevTools MCP, but the ChatKit iframe’s role=“presentation” attribute prevents automated testing tools from accessing its content. First I thought it was simply not possible via MCP Tools, but after writing with one of the Google Developers we found out the cross-origin simply doesn’t allow it.

It would be very helpful if you could find a solution to improve this experience, it might be a bit of an edge case, but considering AI Agents will use Browser more and more in the future, it could help others too.

Use Case

We’re developing automated E2E testing workflows where AI agents can:

  • Type messages into ChatKit
  • Verify chat responses
  • Click buttons and interact with the chat UI & Widgets
  • Run regression tests on ChatKit-integrated features

Technical Issue

The ChatKit web component () renders an iframe with:

Closed, Chatkit Developers responded to Github Ticket & corrected the functionality in the latest updates