Skip to content

Commit

Permalink
Remove Pressed Argument From First Click in Double Click
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinyzu committed Aug 16, 2024
1 parent 117d62e commit ac8ff09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdp_patches/input/async_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async def double_click(
) -> None:
x, y = int(x), int(y)

await self.click(button=button, x=x, y=y, timeout=timeout, emulate_behaviour=emulate_behaviour, pressed=pressed)
await self.click(button=button, x=x, y=y, timeout=timeout, emulate_behaviour=emulate_behaviour)
if self.emulate_behaviour and emulate_behaviour:
await self._sleep_timeout(random.uniform(0.14, 0.21))
# await self._sleep_timeout(timeout=timeout)
Expand Down

0 comments on commit ac8ff09

Please sign in to comment.