Skip to content

Commit

Permalink
Add comment about headless playwright browser
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgross committed Dec 29, 2024
1 parent 88551dd commit 2ed7485
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pcloud/tests/test_oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2ed7485

Please sign in to comment.