Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

message is not delevered after the wait time #349

Open
kobic8 opened this issue Nov 25, 2024 · 2 comments
Open

message is not delevered after the wait time #349

kobic8 opened this issue Nov 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@kobic8
Copy link

kobic8 commented Nov 25, 2024

Description

using this line:
pywhatkit.sendwhatmsg(number, message, hr, min, wait_time=15, tab_close=True)

indeed opens whatsapp web, goes to the relevan connection, writes the given message, but message is not sent

Version Information

  • OS: Windows 10]
  • Browser: Google Chrome
  • Python: 3.12
  • PyWhatKit: 5.4

You can Check the PyWhatKit Version using

@kobic8 kobic8 added the bug Something isn't working label Nov 25, 2024
@kidstell
Copy link

kidstell commented Nov 26, 2024

Description

using this line: pywhatkit.sendwhatmsg(number, message, hr, min, wait_time=15, tab_close=True)

indeed opens whatsapp web, goes to the relevan connection, writes the given message, but message is not sent

Hi, can you experiment with a higher wait time?
are you using multiple monitors?

Thanks

@kobic8
Copy link
Author

kobic8 commented Nov 26, 2024

hello, and thanks for the quick reply. I have tested it with different input args, this is not the problem. The issue is that i use multiple monitors (two). As i run the code on pycharm on my main monitors, it opens whatsapp web on the secondary monitor, performs the required actions, and while it waits to send the message (hit the 'enter' button) it retorns to the main monitor (with pycharm) and there is presses the 'enter'. The question is who can we force it to say on the browser window?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants