diff --git a/docker-compose.yml b/docker-compose.yml index 035332c1..78254b8e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -53,9 +53,8 @@ services: - "6379:6379" chrome: - image: seleniarm/standalone-chromium:latest - volumes: - - /dev/shm:/dev/shm + image: selenium/standalone-chrome:latest + shm_size: 2gb depends_on: - web ports: diff --git a/features/environment.py b/features/environment.py index ee6ab913..e4e5c292 100644 --- a/features/environment.py +++ b/features/environment.py @@ -223,7 +223,6 @@ def before_feature(context, feature): if settings.USE_REMOTE_CHROME: options = webdriver.ChromeOptions() options.add_argument("--headless=new") - options.add_argument("--disable-dev-shm-usage") context.browser = webdriver.Remote( command_executor="http://{}:4444".format(settings.SELENIUM_ADDRESS), options=options,