File tree 4 files changed +8
-8
lines changed 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ COPY supervisord.conf /etc
71
71
RUN mkdir -p /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor \
72
72
&& touch /opt/selenium/config.toml \
73
73
&& chmod -R 777 /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor /etc/passwd \
74
- # && wget --no-verbose https://github.com/SeleniumHQ/docker-selenium/raw/beta-jars/selenium-server-4.0.0-prerelease-beta-1-0f2429af7a.jar \
75
- # -O /opt/selenium/selenium-server.jar \
76
- && wget --no-verbose https://selenium-release.storage.googleapis.com/4.0-beta-1/selenium-server-4.0.0-beta-1.jar \
74
+ && wget --no-verbose https://github.com/SeleniumHQ/docker-selenium/raw/beta-jars/selenium-server-4.0.0-prerelease-beta-2-aadc2039d7.jar \
77
75
-O /opt/selenium/selenium-server.jar \
76
+ # && wget --no-verbose https://selenium-release.storage.googleapis.com/4.0-beta-1/selenium-server-4.0.0-beta-1.jar \
77
+ # -O /opt/selenium/selenium-server.jar \
78
78
&& chgrp -R 0 /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor \
79
79
&& chmod -R g=u /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor
80
80
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ ENV START_XVFB true
140
140
# Selenium Configuration
141
141
#========================
142
142
# As integer, maps to "max-concurrent-sessions"
143
- ENV SE_NODE_MAX_CONCURRENT_SESSIONS 1
143
+ ENV SE_NODE_MAX_SESSIONS 1
144
144
145
145
# Following line fixes https://github.com/SeleniumHQ/docker-selenium/issues/87
146
146
ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
Original file line number Diff line number Diff line change 14
14
if [[ -z " ${SE_NODE_HOST} " ]]; then
15
15
echo " Setting up SE_NODE_HOST..."
16
16
else
17
- echo " hostname = \" ${SE_NODE_HOST} \" " >> /opt/selenium/config.toml
17
+ echo " host = \" ${SE_NODE_HOST} \" " >> /opt/selenium/config.toml
18
18
fi
19
19
20
20
if [[ -z " ${SE_NODE_PORT} " ]]; then
24
24
fi
25
25
26
26
echo " [node]
27
- max-concurrent- sessions = ${SE_NODE_MAX_CONCURRENT_SESSIONS }
27
+ max-sessions = ${SE_NODE_MAX_SESSIONS }
28
28
" >> /opt/selenium/config.toml
29
29
Original file line number Diff line number Diff line change @@ -273,14 +273,14 @@ configs = [
273
273
# Linux could use --net=host in the `docker run` instruction or 172.17.0.1 in the URI below.
274
274
# To have Docker listening through tcp on macOS, install socat and run the following command
275
275
# socat -4 TCP-LISTEN:2375,fork UNIX-CONNECT:/var/run/docker.sock
276
- host = " tcp://host.docker.internal:2375"
276
+ url = " tcp://host.docker.internal:2375"
277
277
# Docker imagee used for video recording
278
278
video-image = " selenium/video:ffmpeg-4.3.1-20210215"
279
279
280
280
# Uncomment the following section if you are running the node on a separate VM
281
281
# Fill out the placeholders with appropriate values
282
282
# [server]
283
- # hostname = <ip-from-node-machine>
283
+ # host = <ip-from-node-machine>
284
284
# port = <port-from-node-machine>
285
285
```
286
286
You can’t perform that action at this time.
0 commit comments