selenium==3.141.0
To run, install chromedriver correponding to your chrome version from : https://chromedriver.chromium.org/
To check chrome version: https://www.howtogeek.com/299243/which-version-of-chrome-do-i-have/
Move downloaded chrome driver in the same folder. Current chromedriver present in the repo is for version 80.0.3987.106
Edit creds.txt with your credentials.
python main.py
To start script at 2:00pm everyday.
Add an alias of the chromedriver in the /usr/bin directory:
sudo ln -s /path/to/chromedriver /usr/bin
Make the script executable by:
chmod u+x /path/to/main.py
Open your cron table by
crontab -e
Add the following cron entry:
0 14 * * * cd /path/to/timesheet/ && /usr/bin/env python main.py