mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-15 19:05:09 +01:00
Headless
This commit is contained in:
parent
3e3da0d929
commit
fc0b45dc86
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ def main():
|
||||||
with sync_playwright() as playwright:
|
with sync_playwright() as playwright:
|
||||||
browser_type = playwright.chromium
|
browser_type = playwright.chromium
|
||||||
browser = browser_type.launch(
|
browser = browser_type.launch(
|
||||||
headless=False,
|
headless=True,
|
||||||
args=["--no-sandbox", "--disable-setuid-sandbox", "--disable-dev-shm-usage"]
|
args=["--no-sandbox", "--disable-setuid-sandbox", "--disable-dev-shm-usage"]
|
||||||
)
|
)
|
||||||
page = browser.new_page()
|
page = browser.new_page()
|
||||||
|
|
Loading…
Add table
Reference in a new issue