Skip to content

mattmooree/timsheet_cheat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timsheet_cheat

Never worry about a late timesheet submission again. This script uses selenium to automate the inov8 timesheet webpages to set Monday-Friday to "1" and click "save as draft". Haven't given it the full power of submitting yet incase the timesheet is incorrect.

Requirements

Example

python timesheet_cheat.py "<username>" "<password>"

Potential Improvements

  • Allow the script to submit the timesheet instead of save as draft (maybe a prompt?)
  • Only update days that are not already completed
  • Currently only updates the current week, could iterate through incomplete weeks and update

Tips

If you see the following error:

selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

Make sure chrome webdriver is on the system path. If that doesn't work, modify the python script and give the driver element the path of the chrome webdriver:

self.driver = webdriver.Chrome('/path/to/chromewebdriver')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published