Attempt to fix Docker ARM32 build

This commit is contained in:
ngosang
2023-03-20 13:39:13 +01:00
parent 5fc4f966a5
commit 8de16058d0
2 changed files with 12 additions and 1 deletions

View File

@@ -46,6 +46,11 @@ def get_webdriver() -> WebDriver:
options.add_argument('--disable-dev-shm-usage')
# this option removes the zygote sandbox (it seems that the resolution is a bit faster)
options.add_argument('--no-zygote')
# attempt to fix Docker ARM32 build
options.add_argument('--disable-gpu-sandbox')
options.add_argument('--disable-software-rasterizer')
options.add_argument('--ignore-certificate-errors')
options.add_argument('--ignore-ssl-errors')
# note: headless mode is detected (options.headless = True)
# we launch the browser in head-full mode with the window hidden