Closed nekros1xx closed 1 year ago
I'm sorry about that. I didn't realize. So, given that we need to somehow execute some action on the web whatsapp page every some short period of time to avoid IDLE, I thought 2 different approaches:
1) Make a focus on web whatsapp window. 2) Make a click, I think making a click would be really more practical. I've done the modifications for this.
I have opted for the 2nd choice. I hope it helps, give it a try.
Also, I will try to fix other issues I've detected in your code later.
Have a nice day.
Awesome @loginekuy approved!
Web WhatsApp has an idle time, once this amount of minutes are reached, it will not show anymore the "online" status. I've added a loop that clicks every 10 seconds on the username, trying to avoid this idle issue.