Easier setup by executing main from root working directory

This commit is contained in:
Daniel 2023-11-24 11:30:52 +01:00
parent a4bdb2e868
commit 2cb4a9d526
9 changed files with 23 additions and 21 deletions

View file

@ -12,7 +12,7 @@ from playwright.sync_api import Browser, Locator, expect, sync_playwright
# browser = playwright.chromium.launch(headless=False)
cred_file = Path("../credentials.json")
cred_file = Path("credentials.json")
with open(cred_file, "r") as f:
CREDENTIALS = json.load(f)