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

@ -5,7 +5,7 @@ from pathlib import Path
from icecream import ic
from playwright.sync_api import Browser, BrowserContext, Locator, Page, expect, sync_playwright
cred_file = Path("../credentials.json")
cred_file = Path("credentials.json")
with open(cred_file, "r") as f:
CREDENTIALS = json.load(f)