Skip to content

Commit

Permalink
Decreasing Click Timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinyzu committed Aug 18, 2024
1 parent 9db497b commit 709b745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cdp_patches/input/async_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ async def double_click(

press_timeout = click_timeout = timeout or self.sleep_timeout
if self.emulate_behaviour and emulate_behaviour:
click_timeout = random.uniform(0.14, 0.21)
# click_timeout = random.uniform(0.14, 0.21)
self._base.move(x=x, y=y)

kwargs = _mk_kwargs(pressed)
Expand Down
2 changes: 1 addition & 1 deletion cdp_patches/input/sync_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def double_click(

press_timeout = click_timeout = timeout or self.sleep_timeout
if self.emulate_behaviour and emulate_behaviour:
click_timeout = random.uniform(0.14, 0.21)
# click_timeout = random.uniform(0.14, 0.21)
self._base.move(x=x, y=y)

kwargs = _mk_kwargs(pressed)
Expand Down

0 comments on commit 709b745

Please sign in to comment.