Skip to content

Commit 85bb69e

Browse files
authored
Pin selenium/standalone-* to 111.0 and provide option for chromedriver (#27)
1 parent 4ab89fb commit 85bb69e

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.env.dist

+12-8
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@ BASE_URI=http://127.0.0.1:8080
66
UID=1000
77
GID=1000
88

9-
## HEADLESS CHROME
10-
# SELENIUM_IMAGE=selenium/standalone-chrome
11-
# MINK_DRIVER_ARGS_WEBDRIVER='["chrome", {"browserName":"chrome", "goog:chromeOptions":{"args":["--no-sandbox", "--disable-dev-shm-usage", "--headless"], "w3c": false}}, "http://127.0.0.1:4444/wd/hub"]'
9+
# CHROME DRIVER
10+
# SELENIUM_IMAGE=drupalci/chromedriver:production
11+
# MINK_DRIVER_ARGS_WEBDRIVER='["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--headless", "--disable-gpu", "--no-sandbox", "--disable-dev-shm-usage"]}}, "http://127.0.0.1:9515"]'
1212

13-
## CHROME DEBUG
14-
# SELENIUM_IMAGE=selenium/standalone-chrome-debug
15-
# MINK_DRIVER_ARGS_WEBDRIVER='["chrome", {"browserName":"chrome", "goog:chromeOptions":{"args":["--no-sandbox", "--disable-dev-shm-usage"], "w3c": false}}, "http://127.0.0.1:4444/wd/hub"]'
13+
## SELENIUM CHROME
14+
# SELENIUM_IMAGE=selenium/standalone-chrome:111.0
15+
# MINK_DRIVER_ARGS_WEBDRIVER='["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--headless", "--disable-gpu", "--no-sandbox", "--disable-dev-shm-usage"]}}, "http://127.0.0.1:4444/wd/hub"]'
1616

17-
## FIREFOX DEBUG
18-
# SELENIUM_IMAGE=selenium/standalone-firefox-debug
17+
## SELENIUM CHROME DEBUG
18+
# SELENIUM_IMAGE=selenium/standalone-chrome:111.0
19+
# MINK_DRIVER_ARGS_WEBDRIVER='["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--disable-gpu", "--no-sandbox", "--disable-dev-shm-usage"]}}, "http://127.0.0.1:4444/wd/hub"]'
20+
21+
## SELENIUM FIREFOX DEBUG
22+
# SELENIUM_IMAGE=selenium/standalone-firefox:111.0
1923
# MINK_DRIVER_ARGS_WEBDRIVER='["firefox", {"browserName":"firefox"}, "http://127.0.0.1:4444/wd/hub"]'

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ services:
4949
network_mode: service:nginx
5050

5151
selenium:
52-
image: ${SELENIUM_IMAGE:-selenium/standalone-chrome}
52+
image: ${SELENIUM_IMAGE:-selenium/standalone-chrome:111.0}
5353
network_mode: service:nginx

0 commit comments

Comments
 (0)