Skip to content

Commit 23c3792

Browse files
committed
Add missing screenshot timeout
1 parent 535debf commit 23c3792

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

playwright/_impl/_page.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,9 @@ async def screenshot(
816816
params["mask"],
817817
)
818818
)
819-
encoded_binary = await self._channel.send("screenshot", None, params)
819+
encoded_binary = await self._channel.send(
820+
"screenshot", self._timeout_settings.timeout, params
821+
)
820822
decoded_binary = base64.b64decode(encoded_binary)
821823
if path:
822824
make_dirs_for_file(path)

0 commit comments

Comments
 (0)