Commit 786a0f2
committed
Fix accessibility command for Playwright 1.57+
Playwright 1.57.0 removed `page.accessibility.snapshot()` after 3 years
of deprecation. This updates the accessibility command to use the new
`locator.aria_snapshot()` API instead.
Note: The output format has changed due to the new API returning a
different accessibility tree structure (using semantic landmark roles
like banner, main, contentinfo, navigation).1 parent 8435690 commit 786a0f2
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
705 | | - | |
| 705 | + | |
706 | 706 | | |
707 | | - | |
| 707 | + | |
| 708 | + | |
708 | 709 | | |
709 | 710 | | |
710 | 711 | | |
| |||
0 commit comments