Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xueyikang committed Jan 3, 2024
1 parent 64e40b4 commit fa55fd4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions browser/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def new_page() -> PageContext:
return PageContext(pw)


def get() -> Browser | None:
with sync_playwright() as p:
b = p.chromium.launch(headless=True)
return b
return None
# def get() -> Browser | None:
# with sync_playwright() as p:
# b = p.chromium.launch(headless=True)
# return b
# return None

0 comments on commit fa55fd4

Please sign in to comment.