Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] fix incorrect type hints + refactor for impoved consistency #2304

Closed
wants to merge 10 commits into from
4 changes: 3 additions & 1 deletion playwright/_impl/_accessibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def __init__(self, channel: Channel) -> None:
self._dispatcher_fiber = channel._connection._dispatcher_fiber

async def snapshot(
self, interestingOnly: bool = None, root: ElementHandle = None
self,
interestingOnly: Optional[bool] = None,
root: Optional[ElementHandle] = None,
) -> Optional[Dict]:
params = locals_to_params(locals())
if root:
Expand Down
Loading