Skip to content

Commit 43d771a

Browse files
committed
Remove unnecessary waitForTimeout wrapper
1 parent 2f6bbf9 commit 43d771a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

playwright/_impl/_frame.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -801,9 +801,7 @@ async def uncheck(
801801
await self._channel.send("uncheck", self._timeout, locals_to_params(locals()))
802802

803803
async def wait_for_timeout(self, timeout: float) -> None:
804-
await self._channel.send(
805-
"waitForTimeout", self._timeout, locals_to_params(locals())
806-
)
804+
await self._channel.send("waitForTimeout", None, locals_to_params(locals()))
807805

808806
async def wait_for_function(
809807
self,

0 commit comments

Comments
 (0)