mirror of
https://github.com/Rushilwiz/auto-mdh.git
synced 2025-04-09 23:00:18 -04:00
added extra prints
This commit is contained in:
parent
6485607b17
commit
24073af7c2
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
schedule.csv
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
|
|
4
mdh.py
4
mdh.py
|
@ -50,6 +50,8 @@ def start_shift(playwright: Playwright, end_hour: str, end_minute: str) -> None:
|
|||
page.locator("input[name=\"location\"]").fill(LOCATION)
|
||||
page.get_by_role("button", name="Done").click()
|
||||
|
||||
print("started shift")
|
||||
|
||||
context.close()
|
||||
browser.close()
|
||||
|
||||
|
@ -69,6 +71,8 @@ def end_shift(playwright: Playwright) -> None:
|
|||
page.get_by_role("button", name="End now").click()
|
||||
page.get_by_role("button", name="End shift now").click()
|
||||
|
||||
print("ended shift")
|
||||
|
||||
context.close()
|
||||
browser.close()
|
||||
|
||||
|
|
|
@ -2,5 +2,4 @@ Day,Start Time,End Time
|
|||
1,17:00,19:00
|
||||
2,11:00,14:00
|
||||
3,17:00,19:00
|
||||
4,14:00,17:00
|
||||
2,17:00,19:00
|
||||
4,14:00,17:00
|
|
Loading…
Reference in New Issue
Block a user