fixed headless error and reformatted
This commit is contained in:
1 parent
767e34c843
commit
12482f4298
1 file changed
+1
-1
@@ -32,7 +32,7 @@ def download_screenshots_of_reddit_posts(reddit_object: dict, screenshot_num: in
|
||||
with sync_playwright() as p:
|
||||
print_substep("Launching Headless Browser...")
|
||||
|
||||
browser = p.chromium.launch(headless=False)
|
||||
browser = p.chromium.launch(headless=True) # add headless=False for debug
|
||||
context = browser.new_context()
|
||||
|
||||
if settings.config["settings"]["theme"] == "dark":
|
||||
|
||||
Reference in new issue
Block a user