Skip to content

Commit 9e4b936

Browse files
authored
Grid Beta 2 aadc2039d7 (#1228) [deploy][prerelease]
1 parent 6610042 commit 9e4b936

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Base/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ COPY supervisord.conf /etc
7171
RUN mkdir -p /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor \
7272
&& touch /opt/selenium/config.toml \
7373
&& 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 \
7775
-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 \
7878
&& chgrp -R 0 /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor \
7979
&& chmod -R g=u /opt/selenium ${HOME} /opt/selenium/assets /var/run/supervisor /var/log/supervisor
8080

NodeBase/Dockerfile.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ ENV START_XVFB true
140140
# Selenium Configuration
141141
#========================
142142
# As integer, maps to "max-concurrent-sessions"
143-
ENV SE_NODE_MAX_CONCURRENT_SESSIONS 1
143+
ENV SE_NODE_MAX_SESSIONS 1
144144

145145
# Following line fixes https://github.com/SeleniumHQ/docker-selenium/issues/87
146146
ENV DBUS_SESSION_BUS_ADDRESS=/dev/null

NodeBase/generate_config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414
if [[ -z "${SE_NODE_HOST}" ]]; then
1515
echo "Setting up SE_NODE_HOST..."
1616
else
17-
echo "hostname = \"${SE_NODE_HOST}\"" >> /opt/selenium/config.toml
17+
echo "host = \"${SE_NODE_HOST}\"" >> /opt/selenium/config.toml
1818
fi
1919

2020
if [[ -z "${SE_NODE_PORT}" ]]; then
@@ -24,6 +24,6 @@ else
2424
fi
2525

2626
echo "[node]
27-
max-concurrent-sessions = ${SE_NODE_MAX_CONCURRENT_SESSIONS}
27+
max-sessions = ${SE_NODE_MAX_SESSIONS}
2828
" >> /opt/selenium/config.toml
2929

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,14 +273,14 @@ configs = [
273273
# Linux could use --net=host in the `docker run` instruction or 172.17.0.1 in the URI below.
274274
# To have Docker listening through tcp on macOS, install socat and run the following command
275275
# 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"
277277
# Docker imagee used for video recording
278278
video-image = "selenium/video:ffmpeg-4.3.1-20210215"
279279

280280
# Uncomment the following section if you are running the node on a separate VM
281281
# Fill out the placeholders with appropriate values
282282
#[server]
283-
#hostname = <ip-from-node-machine>
283+
#host = <ip-from-node-machine>
284284
#port = <port-from-node-machine>
285285
```
286286

0 commit comments

Comments
 (0)