We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b15802 commit af59391Copy full SHA for af59391
1 file changed
html2print/html2print.py
@@ -369,6 +369,9 @@ def create_webdriver(
369
# Use --headless=new, as it seems to be more stable on Windows (available since Chrome 109).
370
# see https://www.selenium.dev/blog/2023/headless-is-going-away/
371
webdriver_options.add_argument("--headless=new")
372
+ # FIXME: This is not nice but otherwise it does not work in Ubuntu 24-based Docker image.
373
+ # https://github.com/SeleniumHQ/selenium/issues/15327#issuecomment-2689287561
374
+ webdriver_options.add_argument("--no-sandbox")
375
376
# The Chrome option --disable-dev-shm-usage disables the use of /dev/shm
377
# (shared memory) for temporary storage in Chrome.
0 commit comments