Skip to content

Commit 7781610

Browse files
authored
Use latest selenium chrome (#88)
1 parent a445c31 commit 7781610

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.ddev/config.selenium-standalone-chrome.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,17 @@ web_environment:
1212
# Use disable-dev-shm-usage instead of setting shm_usage
1313
# https://developers.google.com/web/tools/puppeteer/troubleshooting#tips
1414
# The format of chromeOptions is defined at https://chromedriver.chromium.org/capabilities
15-
- 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\"]
15+
- MINK_DRIVER_ARGS_WEBDRIVER=[\"chrome\",{\"browserName\":\"chrome\",\"goog:chromeOptions\":{\"w3c\":true,\"args\":[\"--no-sandbox\",\"--disable-dev-shm-usage\",\"--ignore-certificate-errors\",\"--allow-insecure-localhost\",\"--dns-prefetch-disable\"]}},\"http://selenium-chrome:4444\"]
1616
# Nightwatch
1717
- DRUPAL_TEST_BASE_URL=http://web
1818
- DRUPAL_TEST_DB_URL=mysql://db:db@db/db
1919
- DRUPAL_TEST_WEBDRIVER_HOSTNAME=selenium-chrome
2020
- DRUPAL_TEST_WEBDRIVER_PORT=4444
21-
- DRUPAL_TEST_WEBDRIVER_PATH_PREFIX=/wd/hub
22-
- DRUPAL_TEST_WEBDRIVER_CHROME_ARGS=--disable-gpu --headless --no-sandbox --disable-dev-shm-usage
21+
- DRUPAL_TEST_WEBDRIVER_CHROME_ARGS=--disable-gpu --no-sandbox --disable-dev-shm-usage
2322
- DRUPAL_TEST_CHROMEDRIVER_AUTOSTART=false
2423
- DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY=../
2524
- DRUPAL_NIGHTWATCH_IGNORE_DIRECTORIES=node_modules,vendor,.*,sites/*/files,sites/*/private,sites/simpletest
2625
- DRUPAL_NIGHTWATCH_OUTPUT=reports/nightwatch
2726
# DTT
2827
- DTT_BASE_URL=http://web
29-
- 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\"]
28+
- DTT_MINK_DRIVER_ARGS=[\"chrome\",{\"browserName\":\"chrome\",\"goog:chromeOptions\":{\"w3c\":true,\"args\":[\"--no-sandbox\",\"--disable-dev-shm-usage\",\"--ignore-certificate-errors\",\"--allow-insecure-localhost\",\"--dns-prefetch-disable\"]}},\"http://selenium-chrome:4444\"]

.ddev/docker-compose.selenium-chrome.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
version: '3.6'
88
services:
99
selenium-chrome:
10-
image: seleniarm/standalone-chromium:4.1.4-20220429
10+
image: seleniarm/standalone-chromium:latest
1111
container_name: ddev-${DDEV_SITENAME}-selenium-chrome
1212
expose:
1313
# The internal noVNC port, which operates over HTTP so it can be exposed

0 commit comments

Comments
 (0)