| Age | Commit message (Collapse) | Author |
|
First pass, doesn't work yet.
This will determine last Friday's date and visit the page corresponding
to that week. It will then try to submit that week's timesheet.
The `wait` on the `script` tag contents waiting for the "week" page to
load isn't working. Looks like you can't wait on the contents of a
`<script>` tag.
Moved the `wait` variable outside of `login` so it can be used in
`submit_week_for_approval`.
|
|
Wait until an element from the logged-in page is found before finishing
or moving on from login.
|
|
The start of a script that will log into Harvest via the normal web
interface and submit the most recent full week's time sheet for
approval.
It uses Selenium and the Firefox WebDriver. It works with the
`-headless` option, but I've commented that out for testing. Right now,
it can open the Harvest sign-in page and log in.
|