Backup should run headless
This commit is contained in:
parent
777ede64f8
commit
4ac90301d5
|
@ -68,7 +68,7 @@ def run_backup(page: Page) -> None:
|
|||
|
||||
def run(playwright: Playwright) -> None:
|
||||
"""Download export."""
|
||||
browser = playwright.chromium.launch(headless=False)
|
||||
browser = playwright.chromium.launch(headless=True)
|
||||
auth_json = os.path.join(script_dir, "auth.json")
|
||||
context = browser.new_context(storage_state=auth_json)
|
||||
page = context.new_page()
|
||||
|
|
Loading…
Reference in a new issue