diff --git a/config.selenium-standalone-chrome.yaml b/config.selenium-standalone-chrome.yaml index 61e40f9..72a7d50 100644 --- a/config.selenium-standalone-chrome.yaml +++ b/config.selenium-standalone-chrome.yaml @@ -12,18 +12,19 @@ web_environment: # Use disable-dev-shm-usage instead of setting shm_usage # https://developers.google.com/web/tools/puppeteer/troubleshooting#tips # The format of chromeOptions is defined at https://chromedriver.chromium.org/capabilities - - MINK_DRIVER_ARGS_WEBDRIVER=[\"chrome\", {\"browserName\":\"chrome\",\"goog:chromeOptions\":{\"w3c\":false,\"args\":[\"--disable-gpu\",\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\"]}}, \"http://selenium-chrome:4444/wd/hub\"] + - MINK_DRIVER_ARGS_WEBDRIVER=[\"chrome\", {\"browserName\":\"chrome\",\"goog:chromeOptions\":{\"w3c\":true,\"args\":[\"--disable-dev-shm-usage\",\"--disable-gpu\",\"--headless\",\"--dns-prefetch-disable\"]}}, \"http://selenium-chrome:4444/wd/hub\"] # Nightwatch - DRUPAL_TEST_BASE_URL=http://web - DRUPAL_TEST_DB_URL=mysql://db:db@db/db - DRUPAL_TEST_WEBDRIVER_HOSTNAME=selenium-chrome - DRUPAL_TEST_WEBDRIVER_PORT=4444 - DRUPAL_TEST_WEBDRIVER_PATH_PREFIX=/wd/hub - - DRUPAL_TEST_WEBDRIVER_CHROME_ARGS=--disable-gpu --headless --no-sandbox --disable-dev-shm-usage + - DRUPAL_TEST_WEBDRIVER_W3C=true + - DRUPAL_TEST_WEBDRIVER_CHROME_ARGS=--disable-dev-shm-usage --disable-gpu --headless --dns-prefetch-disable - DRUPAL_TEST_CHROMEDRIVER_AUTOSTART=false - DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY=../ - DRUPAL_NIGHTWATCH_IGNORE_DIRECTORIES=node_modules,vendor,.*,sites/*/files,sites/*/private,sites/simpletest - DRUPAL_NIGHTWATCH_OUTPUT=reports/nightwatch # DTT - DTT_BASE_URL=http://web - - DTT_MINK_DRIVER_ARGS=[\"chrome\", {\"browserName\":\"chrome\",\"goog:chromeOptions\":{\"w3c\":false,\"args\":[\"--disable-gpu\",\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\"]}}, \"http://selenium-chrome:4444/wd/hub\"] + - DTT_MINK_DRIVER_ARGS=[\"chrome\", {\"browserName\":\"chrome\",\"goog:chromeOptions\":{\"w3c\":true,\"args\":[\"--disable-dev-shm-usage\",\"--disable-gpu\",\"--headless\",\"--dns-prefetch-disable\"]}}, \"http://selenium-chrome:4444/wd/hub\"] diff --git a/docker-compose.selenium-chrome.yaml b/docker-compose.selenium-chrome.yaml index 1d94216..1a67ffe 100644 --- a/docker-compose.selenium-chrome.yaml +++ b/docker-compose.selenium-chrome.yaml @@ -6,7 +6,7 @@ # services: selenium-chrome: - image: seleniarm/standalone-chromium:4.1.4-20220429 + image: selenium/standalone-chromium:138.0 container_name: ddev-${DDEV_SITENAME}-selenium-chrome expose: # The internal noVNC port, which operates over HTTP so it can be exposed