You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library works fine when I am using a single monitor, but when I plug in multiple monitors it does not work.
The python script opens and enters the text message in the textbox in whatsapp window just fine, but, it is not able to send the message or interact with the send button.
To Reproduce
Connect multiple monitors, in my case i am using 3 monitors
in the follwing format:
Python Script:
import pywhatkit as whatsapp
whatsapp.sendwhatmsg_instantly("+919137823863", "test2", 10)
Version Information
OS: Ubuntu 24.04 LTS x86_64
Browser: Mozilla Firefox
Python: 3.12
PyWhatKit: Verson 5.3 (Stable)
The text was updated successfully, but these errors were encountered:
I have a very similar issue whilst using pywhatkit.sendwhatmsg_to_group_instantly function on multiple monitors.
A whatsapp tab will open. but depending on which screen the browser is open on the text will either appear in the whatsapp or in which ever application is open on the main screen.
Only work around I have found is to run code in a virtual machine.
@PeterCraig-Scotland Thanks for the reply! Yeah, I agree, that's the only workaround I've found too. Running it in a VM seems to be the best option for now.
Description
The library works fine when I am using a single monitor, but when I plug in multiple monitors it does not work.
The python script opens and enters the text message in the textbox in whatsapp window just fine, but, it is not able to send the message or interact with the send button.
To Reproduce
Connect multiple monitors, in my case i am using 3 monitors
in the follwing format:
Python Script:
import pywhatkit as whatsapp
whatsapp.sendwhatmsg_instantly("+919137823863", "test2", 10)
Version Information
The text was updated successfully, but these errors were encountered: