Skip to content

Commit 0871e3f

Browse files
authored
tests: added accessibility tests (#67)
1 parent 8cfe1f9 commit 0871e3f

File tree

2 files changed

+418
-2
lines changed

2 files changed

+418
-2
lines changed

playwright/accessibility.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ def __init__(self, channel: Channel) -> None:
2222
self._channel = channel
2323

2424
async def snapshot(
25-
self, interestingOnly: bool = None, root: ElementHandle = None
25+
self, interestingOnly: bool = True, root: ElementHandle = None
2626
) -> Dict:
2727
root = root._channel if root else None
2828
return await self._channel.send(
29-
"snapshot", dict(root=root, interestingOnly=interestingOnly)
29+
"accessibilitySnapshot", dict(root=root, interestingOnly=interestingOnly)
3030
)

0 commit comments

Comments
 (0)