Uh oh!
There was an error while loading. Please reload this page.
feat(trace-viewer): add "Display Aria" mode - #42211
Conversation
Adds a "Display Aria" setting to the trace viewer that renders the action
screenshot and aria snapshot side by side instead of the DOM snapshot,
based on the 'screenshot' and 'aria-snapshot' trace events. Hovering an
aria node highlights its box on the screenshot.
Also:
- 'screenshot' and 'aria-snapshot' trace events are now surfaced in the
trace model, indexed by call id and phase.
- Aria snapshots in traces are captured with boxes, screenshots with css
scale so image pixels match viewport coordinates.
- The `trace` fixture option accepts `snapshots: { dom, aria, screen }`,
same as `tracing.start()`. `snapshots: true` resolves to `{ dom: true }`.
- `--trace <mode>` now only forces the tracing mode, preserving other
trace options configured in the config.Test results for "tests 1"4 flaky51101 passed, 1209 skipped Merge workflow run. |
Test results for "MCP"1 failed 8091 passed, 1294 skipped Merge workflow run. |
🟡 One real failure — can't prove it either wayHi, I'm the Playwright bot and I took a look at the CI failures here. One genuine failure: DetailsOverall: The PR changes are confined to trace recording and the trace-viewer UI ( Uncertain
Pre-existing flake / infra
None of these exercise the trace-viewer aria path this PR adds. Triaged by the Playwright bot - agent run |
c8fc3bf
into
microsoft:mainUh oh!
There was an error while loading. Please reload this page.
Summary
screenshot/aria-snapshottrace events are surfaced in the trace model; aria snapshots are captured with boxes, screenshots with css scale.tracefixture option acceptssnapshots: { dom, aria, screen }, same astracing.start().--trace <mode>only forces the tracing mode, preserving other trace options from the config.