Python script to avoid several chrome profile on same Windows session
Budget: $30 – $250 USD
The task is to build a python script, running on windows vps.
The script is to check if we have several chrome browsers opened, from the directory "C:\Users\XXXXX\AppData\Local\Google\Chrome\User Data" each second
XXXXX should be detected by the script as the script could run on any session.
If the script detect 2 profiles opened from this same directory, then it should call a .bat script already in place on the vps , then double check if we don't have any browser open (on the same windows session) ; then click to another .bat file
Theses profiles can be opened manually or through selenium webdriver currently.
If the script failed to close the 2 profiles, we should receive an alert text or sms.
I am open to suggestions to handle this project in the best way.
The script is to check if we have several chrome browsers opened, from the directory "C:\Users\XXXXX\AppData\Local\Google\Chrome\User Data" each second
XXXXX should be detected by the script as the script could run on any session.
If the script detect 2 profiles opened from this same directory, then it should call a .bat script already in place on the vps , then double check if we don't have any browser open (on the same windows session) ; then click to another .bat file
Theses profiles can be opened manually or through selenium webdriver currently.
If the script failed to close the 2 profiles, we should receive an alert text or sms.
I am open to suggestions to handle this project in the best way.