rely only on firefox inside the dockerbox
This commit is contained in:
@@ -96,7 +96,7 @@ def generate_resume_pdf(
|
|||||||
print(f" JSON source: {actual_json_path}")
|
print(f" JSON source: {actual_json_path}")
|
||||||
|
|
||||||
with sync_playwright() as playwright:
|
with sync_playwright() as playwright:
|
||||||
browser = playwright.chromium.launch(headless=True)
|
browser = playwright.firefox.launch(headless=True)
|
||||||
context = browser.new_context()
|
context = browser.new_context()
|
||||||
page = context.new_page()
|
page = context.new_page()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user