feat(aria): treat frame elements like iframes in aria snapshots#41828
Conversation
Frames now appear as iframe nodes in aria snapshots, their content is stitched into ai snapshots, and child frameset documents are stitched recursively. Selector generation treats frames like iframes as well.
Test results for "MCP"3 failed 7757 passed, 1249 skipped Merge workflow run. |
Test results for "tests 1"3 flaky49956 passed, 1158 skipped Merge workflow run. |
|
Hi, I'm the Playwright bot and I took a first look at the CI failures here. 🟢 The failures are pre-existing flakes — this PR is clearThe only real failures are 3 MCP tests, and each one flips verdict across ~250 runs on SHAs that have nothing to do with this PR. This change only touches aria-snapshot and selector-generation code, which the MCP annotate and CLI flows don't exercise. DetailsOverall: No failure traces back to this diff. The PR edits Pre-existing flake / infra
Both are MCP tests; the PR doesn't change any MCP code path, so nothing here is caused by it. Triaged by the Playwright bot - agent run |
Summary
<frame>elements now appear asiframenodes in aria snapshots, and their content is stitched into ai snapshotsframe[name=...]/frame[title=...]References #41784.