I wrote a code to view someone's WhatsApp status as soon as he/she uploads. The code works fine but as soon as i disconnect from the VPS, it doesn't work. If i re-connect into the VPS, the web WhatsApp would re-login, and start connecting and organizing messages which makes the code not work. I make use of selenium using a chrome instance with its user data profile alone each time ( Not Chromium ) so the WhatsApp is always logged in only when I am connected to the VPS.
The VPS spec is
- AMD 16-Core Processor,6 Core(s)
- 16GBs of memory
I've tried ;
- The VPS screen timeout set to never.
- Checking if there were power or battery saver I could turn off but I couldn't find any relating to such an issue.
Is there any reason for this and how can i fix this?