Problem:
I want to send a message using the phone number and I used send_anon_message function but I got an error.
Error:
DevTools listening on ws://127.0.0.1:58386/devtools/browser/87426bed-43cb-4db8-a658-7e54be26a153
[11144:12812:0706/012329.621:ERROR:device_event_log_impl.cc(214)] [01:23:29.629] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
My Code:
from whatsapp import WhatsApp
whatsapp = WhatsApp(100, session="C:/Users/users/Desktop/Simple-Yet-Hackable-WhatsApp-api-master/mysession")
print(whatsapp.send_anon_message("6282136218888",":heart: Good!"))
My environtment:
OS : Windows 11
Python Version: 3.9
selenium : 3.12.0
requests : 2.20.0
Problem: I want to send a message using the phone number and I used send_anon_message function but I got an error.
Error: DevTools listening on ws://127.0.0.1:58386/devtools/browser/87426bed-43cb-4db8-a658-7e54be26a153 [11144:12812:0706/012329.621:ERROR:device_event_log_impl.cc(214)] [01:23:29.629] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
My Code: from whatsapp import WhatsApp whatsapp = WhatsApp(100, session="C:/Users/users/Desktop/Simple-Yet-Hackable-WhatsApp-api-master/mysession") print(whatsapp.send_anon_message("6282136218888",":heart: Good!"))
My environtment: OS : Windows 11 Python Version: 3.9 selenium : 3.12.0 requests : 2.20.0