From 84844d3ecf97993620a092e5fcd5fb6a84937eae Mon Sep 17 00:00:00 2001 From: Tom Gross Date: Sun, 29 Dec 2024 11:41:54 +0100 Subject: [PATCH] Add comment about headless playwright browser --- src/pcloud/tests/test_oauth2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pcloud/tests/test_oauth2.py b/src/pcloud/tests/test_oauth2.py index 3a485e5..31c7a5b 100644 --- a/src/pcloud/tests/test_oauth2.py +++ b/src/pcloud/tests/test_oauth2.py @@ -20,7 +20,8 @@ class PlaywrightTokenHandler(TokenHandler): def open_browser(self): with sync_playwright() as p: - self.browser = p.firefox.launch() + # set headless to `False` for debugging purposes + self.browser = p.firefox.launch(headless=True) self.browser.new_context( locale="de-DE", timezone_id="Europe/Berlin",