From 42c3e667b5ab4e17bb88806de86608edd3d7ce61 Mon Sep 17 00:00:00 2001 From: Pramod Kumar Date: Thu, 5 May 2022 12:58:15 +0530 Subject: [PATCH] Don't click center of the screen. Click right most center --- pywhatkit/core/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywhatkit/core/core.py b/pywhatkit/core/core.py index 2a6cc0f..6be32cb 100644 --- a/pywhatkit/core/core.py +++ b/pywhatkit/core/core.py @@ -82,7 +82,7 @@ def send_message(message: str, receiver: str, wait_time: int) -> None: _web(receiver=receiver, message=message) time.sleep(7) - click(WIDTH / 2, HEIGHT / 2) + click(WIDTH - 10, HEIGHT / 2) time.sleep(wait_time - 7) if not check_number(number=receiver): for char in message: