Clicking on a button or at the current position of mouse using JavaScript to keep Google Colab notebook alive

I am trying to keep the Google Colab notebook alive for few hours even if I go out for some time. People who have no idea should only know that if you don’t manually intervene then the processes stop and all of your work is lost. I want my mouse to keep clicking at the current position 12 hours at an interval of 15 minutes. This would be the best case for me. Also IF I can add a bit of scroll up and down both without affecting the position of my mouse would be nice. Obviously, I did nit