Skip to content

Commit c7d06ec

Browse files
committed
Add support for Selenium 2.53.1 and make it the default version
1 parent 910b4f6 commit c7d06ec

File tree

26 files changed

+80
-64
lines changed

26 files changed

+80
-64
lines changed

Base/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ RUN apt-get update -qqy \
2727
# Selenium
2828
#==========
2929
RUN mkdir -p /opt/selenium \
30-
&& wget --no-verbose https://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.0.jar -O /opt/selenium/selenium-server-standalone.jar
30+
&& wget --no-verbose https://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.0.jar -O /opt/selenium/selenium-server-standalone-2.53.0.jar \
31+
&& wget --no-verbose https://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.1.jar -O /opt/selenium/selenium-server-standalone-2.53.1.jar
32+
ENV SELENIUM_VERSION=2.53.1
3133

3234
#========================================
3335
# Add normal user with passwordless sudo

Hub/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/base:2.53.0
1+
FROM selenium/base:2.53.1
22
MAINTAINER Selenium <[email protected]>
33

44
#========================

Hub/entry_point.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function shutdown {
1818
echo "shutdown complete"
1919
}
2020

21-
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
21+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone-${SELENIUM_VERSION}.jar \
2222
-role hub \
2323
-hubConfig $CONF \
2424
${SE_OPTS} &

Makefile

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME := selenium
2-
VERSION := $(or $(VERSION),$(VERSION),'2.53.0')
2+
VERSION := $(or $(VERSION),$(VERSION),'2.53.1')
33
PLATFORM := $(shell uname -s)
44
BUILD_ARGS := $(BUILD_ARGS)
55

@@ -85,17 +85,17 @@ firefox_debug: generate_firefox_debug firefox
8585
cd ./NodeFirefoxDebug && docker build $(BUILD_ARGS) -t $(NAME)/node-firefox-debug:$(VERSION) .
8686

8787
tag_latest:
88-
docker tag $(NAME)/base:$(VERSION) $(NAME)/base:latest
89-
docker tag $(NAME)/hub:$(VERSION) $(NAME)/hub:latest
90-
docker tag $(NAME)/node-base:$(VERSION) $(NAME)/node-base:latest
91-
docker tag $(NAME)/node-chrome:$(VERSION) $(NAME)/node-chrome:latest
92-
docker tag $(NAME)/node-firefox:$(VERSION) $(NAME)/node-firefox:latest
93-
docker tag $(NAME)/node-chrome-debug:$(VERSION) $(NAME)/node-chrome-debug:latest
94-
docker tag $(NAME)/node-firefox-debug:$(VERSION) $(NAME)/node-firefox-debug:latest
95-
docker tag $(NAME)/standalone-chrome:$(VERSION) $(NAME)/standalone-chrome:latest
96-
docker tag $(NAME)/standalone-firefox:$(VERSION) $(NAME)/standalone-firefox:latest
97-
docker tag $(NAME)/standalone-chrome-debug:$(VERSION) $(NAME)/standalone-chrome-debug:latest
98-
docker tag $(NAME)/standalone-firefox-debug:$(VERSION) $(NAME)/standalone-firefox-debug:latest
88+
docker tag $(NAME)/base:$(VERSION) $(NAME)/base:2.53.1
89+
docker tag $(NAME)/hub:$(VERSION) $(NAME)/hub:2.53.1
90+
docker tag $(NAME)/node-base:$(VERSION) $(NAME)/node-base:2.53.1
91+
docker tag $(NAME)/node-chrome:$(VERSION) $(NAME)/node-chrome:2.53.1
92+
docker tag $(NAME)/node-firefox:$(VERSION) $(NAME)/node-firefox:2.53.1
93+
docker tag $(NAME)/node-chrome-debug:$(VERSION) $(NAME)/node-chrome-debug:2.53.1
94+
docker tag $(NAME)/node-firefox-debug:$(VERSION) $(NAME)/node-firefox-debug:2.53.1
95+
docker tag $(NAME)/standalone-chrome:$(VERSION) $(NAME)/standalone-chrome:2.53.1
96+
docker tag $(NAME)/standalone-firefox:$(VERSION) $(NAME)/standalone-firefox:2.53.1
97+
docker tag $(NAME)/standalone-chrome-debug:$(VERSION) $(NAME)/standalone-chrome-debug:2.53.1
98+
docker tag $(NAME)/standalone-firefox-debug:$(VERSION) $(NAME)/standalone-firefox-debug:2.53.1
9999

100100
release: tag_latest
101101
@if ! docker images $(NAME)/base | awk '{ print $$2 }' | grep -q -F $(VERSION); then echo "$(NAME)/base version $(VERSION) is not yet built. Please run 'make build'"; false; fi

NodeBase/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/base:2.53.0
1+
FROM selenium/base:2.53.1
22
MAINTAINER Selenium <[email protected]>
33

44
ENV DEBIAN_FRONTEND noninteractive

NodeBase/entry_point.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fi
3333

3434
SERVERNUM=$(get_server_num)
3535
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
36-
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
36+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone-${SELENIUM_VERSION}.jar \
3737
-role node \
3838
-hub http://$HUB_PORT_4444_TCP_ADDR:$HUB_PORT_4444_TCP_PORT/grid/register \
3939
${REMOTE_HOST_PARAM} \

NodeChrome/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/node-base:2.53.0
1+
FROM selenium/node-base:2.53.1
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

NodeChromeDebug/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/node-chrome:2.53.0
1+
FROM selenium/node-chrome:2.53.1
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

NodeChromeDebug/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
3838
When you are prompted for the password it is __secret__. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
3939

4040
``` dockerfile
41-
FROM selenium/node-chrome-debug:2.53.0
41+
FROM selenium/node-chrome-debug:2.53.1
4242

4343
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
4444
```

NodeChromeDebug/entry_point.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ env | cut -f 1 -d "=" | sort > asroot
3838
$(for E in $(grep -vxFf asseluser asroot); do echo $E=$(eval echo \$$E); done) \
3939
DISPLAY=$DISPLAY \
4040
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
41-
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
41+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone-${SELENIUM_VERSION}.jar \
4242
-role node \
4343
-hub http://$HUB_PORT_4444_TCP_ADDR:$HUB_PORT_4444_TCP_PORT/grid/register \
4444
${REMOTE_HOST_PARAM} \

NodeDebug/README.template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
3838
When you are prompted for the password it is __secret__. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
3939

4040
``` dockerfile
41-
FROM selenium/##BASE##-debug:2.53.0
41+
FROM selenium/##BASE##-debug:2.53.1
4242

4343
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
4444
```

NodeFirefox/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/node-base:2.53.0
1+
FROM selenium/node-base:2.53.1
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

NodeFirefoxDebug/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/node-firefox:2.53.0
1+
FROM selenium/node-firefox:2.53.1
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

NodeFirefoxDebug/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
3838
When you are prompted for the password it is __secret__. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
3939

4040
``` dockerfile
41-
FROM selenium/node-firefox-debug:2.53.0
41+
FROM selenium/node-firefox-debug:2.53.1
4242

4343
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
4444
```

NodeFirefoxDebug/entry_point.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ env | cut -f 1 -d "=" | sort > asroot
3838
$(for E in $(grep -vxFf asseluser asroot); do echo $E=$(eval echo \$$E); done) \
3939
DISPLAY=$DISPLAY \
4040
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
41-
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
41+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone-${SELENIUM_VERSION}.jar \
4242
-role node \
4343
-hub http://$HUB_PORT_4444_TCP_ADDR:$HUB_PORT_4444_TCP_PORT/grid/register \
4444
${REMOTE_HOST_PARAM} \

README.md

Lines changed: 42 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Images included:
2525
When executing docker run for an image with chrome browser please add volume mount `-v /dev/shm:/dev/shm` to use the host's shared memory.
2626

2727
``` bash
28-
$ docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:2.53.0
28+
$ docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:2.53.1
2929
```
3030

3131
This is a workaround to node-chrome crash in docker container issue: https://code.google.com/p/chromium/issues/detail?id=519952
@@ -34,9 +34,9 @@ This is a workaround to node-chrome crash in docker container issue: https://cod
3434
### Standalone Chrome and Firefox
3535

3636
``` bash
37-
$ docker run -d -p 4444:4444 selenium/standalone-chrome:2.53.0
37+
$ docker run -d -p 4444:4444 selenium/standalone-chrome:2.53.1
3838
# OR
39-
$ docker run -d -p 4444:4444 selenium/standalone-firefox:2.53.0
39+
$ docker run -d -p 4444:4444 selenium/standalone-firefox:2.53.1
4040
```
4141

4242
_Note: Only one standalone image can run on port_ `4444` _at a time._
@@ -46,30 +46,44 @@ To inspect visually what the browser is doing use the `standalone-chrome-debug`
4646
### Selenium Grid Hub
4747

4848
``` bash
49-
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub:2.53.0
49+
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub:2.53.1
5050
```
5151

5252
### Chrome and Firefox Grid Nodes
5353

5454
``` bash
55-
$ docker run -d --link selenium-hub:hub selenium/node-chrome:2.53.0
56-
$ docker run -d --link selenium-hub:hub selenium/node-firefox:2.53.0
55+
$ docker run -d --link selenium-hub:hub selenium/node-chrome:2.53.1
56+
$ docker run -d --link selenium-hub:hub selenium/node-firefox:2.53.1
57+
```
58+
59+
### Specifying versions
60+
61+
By default the latest stable versions will be used, however you can override
62+
these using the following environment variables:
63+
64+
- `SELENIUM_VERSION` - version of the Selenium server
65+
66+
For example, the following will start a standalone Firefox server using
67+
Selenium 2.53.0:
68+
69+
```bash
70+
$ docker run -d -p 4444:4444 -e SELENIUM_VERSION=2.53.0 selenium/standalone-firefox:2.53.1
5771
```
5872

5973
### JAVA_OPTS Java Environment Options
6074

6175
You can pass `JAVA_OPTS` environment variable to java process.
6276

6377
``` bash
64-
$ docker run -d -p 4444:4444 -e JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:2.53.0
78+
$ docker run -d -p 4444:4444 -e JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:2.53.1
6579
```
6680

6781
### SE_OPTS Selenium Configuration Options
6882

6983
You can pass `SE_OPTS` variable with additional commandline parameters for starting a hub or a node.
7084

7185
``` bash
72-
$ docker run -d -p 4444:4444 -e SE_OPTS=-debug --name selenium-hub selenium/hub:2.53.0
86+
$ docker run -d -p 4444:4444 -e SE_OPTS=-debug --name selenium-hub selenium/hub:2.53.1
7387
```
7488

7589
## Building the images
@@ -99,10 +113,10 @@ _Note: Omitting_ `VERSION=local` _will build the images with the current version
99113
##### Example: Spawn a container for testing in Chrome:
100114

101115
``` bash
102-
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:2.53.0
116+
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:2.53.1
103117
$ CH=$(docker run --rm --name=ch \
104118
--link selenium-hub:hub -v /e2e/uploads:/e2e/uploads \
105-
selenium/node-chrome:2.53.0)
119+
selenium/node-chrome:2.53.1)
106120
```
107121

108122
_Note:_ `-v /e2e/uploads:/e2e/uploads` _is optional in case you are testing browser uploads on your web app you will probably need to share a directory for this._
@@ -112,10 +126,10 @@ _Note:_ `-v /e2e/uploads:/e2e/uploads` _is optional in case you are testing brow
112126
This command line is the same as for Chrome. Remember that the Selenium running container is able to launch either Chrome or Firefox, the idea around having 2 separate containers, one for each browser is for convenience plus avoiding certain `:focus` issues your web app may encounter during end-to-end test automation.
113127

114128
``` bash
115-
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:2.53.0
129+
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:2.53.1
116130
$ FF=$(docker run --rm --name=fx \
117131
--link selenium-hub:hub -v /e2e/uploads:/e2e/uploads \
118-
selenium/node-firefox:2.53.0)
132+
selenium/node-firefox:2.53.1)
119133
```
120134

121135
_Note: Since a Docker container is not meant to preserve state and spawning a new one takes less than 3 seconds you will likely want to remove containers after each end-to-end test with_ `--rm` _command. You need to think of your Docker containers as single processes, not as running virtual machines, in case you are familiar with [Vagrant](https://www.vagrantup.com/)._
@@ -124,28 +138,28 @@ _Note: Since a Docker container is not meant to preserve state and spawning a ne
124138

125139
In the event you wish to visually see what the browser is doing you will want to run the `debug` variant of node or standalone images (substitute a free port that you wish to connect to on VNC for <port4VNC>; 5900 is fine if it is free, but of course you can only run one node on that port):
126140
``` bash
127-
$ docker run -d -P -p <port4VNC>:5900 --link selenium-hub:hub selenium/node-chrome-debug:2.53.0
128-
$ docker run -d -P -p <port4VNC>:5900 --link selenium-hub:hub selenium/node-firefox-debug:2.53.0
141+
$ docker run -d -P -p <port4VNC>:5900 --link selenium-hub:hub selenium/node-chrome-debug:2.53.1
142+
$ docker run -d -P -p <port4VNC>:5900 --link selenium-hub:hub selenium/node-firefox-debug:2.53.1
129143
```
130144
e.g.:
131145
``` bash
132-
$ docker run -d -P -p 5900:5900 --link selenium-hub:hub selenium/node-chrome-debug:2.53.0
133-
$ docker run -d -P -p 5901:5900 --link selenium-hub:hub selenium/node-firefox-debug:2.53.0
146+
$ docker run -d -P -p 5900:5900 --link selenium-hub:hub selenium/node-chrome-debug:2.53.1
147+
$ docker run -d -P -p 5901:5900 --link selenium-hub:hub selenium/node-firefox-debug:2.53.1
134148
```
135149

136150
to connect to the Chrome node on 5900 and the Firefox node on 5901 (assuming those node are free, and reachable).
137151

138-
And for standalone:
152+
And for standalone:
139153
``` bash
140-
$ docker run -d -p 4444:4444 -p <port4VNC>:5900 selenium/standalone-chrome-debug:2.53.0
154+
$ docker run -d -p 4444:4444 -p <port4VNC>:5900 selenium/standalone-chrome-debug:2.53.1
141155
# OR
142-
$ docker run -d -p 4444:4444 -p <port4VNC>:5900 selenium/standalone-firefox-debug:2.53.0
156+
$ docker run -d -p 4444:4444 -p <port4VNC>:5900 selenium/standalone-firefox-debug:2.53.1
143157
```
144158
or
145159
``` bash
146-
$ docker run -d -p 4444:4444 -p 5900:5900 selenium/standalone-chrome-debug:2.53.0
160+
$ docker run -d -p 4444:4444 -p 5900:5900 selenium/standalone-chrome-debug:2.53.1
147161
# OR
148-
$ docker run -d -p 4444:4444 -p 5901:5900 selenium/standalone-firefox-debug:2.53.0
162+
$ docker run -d -p 4444:4444 -p 5901:5900 selenium/standalone-firefox-debug:2.53.1
149163
```
150164

151165
You can acquire the port that the VNC server is exposed to by running:
@@ -163,8 +177,8 @@ If you are running [Boot2Docker](https://docs.docker.com/installation/mac/) on O
163177

164178
When you are prompted for the password it is `secret`. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a Docker image that derives from the posted ones which reconfigures it:
165179
``` dockerfile
166-
#FROM selenium/node-chrome-debug:2.53.0
167-
#FROM selenium/node-firefox-debug:2.53.0
180+
#FROM selenium/node-chrome-debug:2.53.1
181+
#FROM selenium/node-firefox-debug:2.53.1
168182
#Choose the FROM statement that works for you.
169183

170184
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
@@ -176,11 +190,11 @@ RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
176190
$ docker images
177191
#=>
178192
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
179-
selenium/node-firefox 2.53.0 69f762d0d79e 29 minutes ago 552.1 MB
180-
selenium/node-chrome 2.53.0 9dd73160660b 30 minutes ago 723.6 MB
181-
selenium/node-base 2.53.0 1b7a0b7024b1 32 minutes ago 426.1 MB
182-
selenium/hub 2.53.0 2570bbb98229 33 minutes ago 394.4 MB
183-
selenium/base 2.53.0 33478d455dab 33 minutes ago 362.6 MB
193+
selenium/node-firefox 2.53.1 69f762d0d79e 29 minutes ago 552.1 MB
194+
selenium/node-chrome 2.53.1 9dd73160660b 30 minutes ago 723.6 MB
195+
selenium/node-base 2.53.1 1b7a0b7024b1 32 minutes ago 426.1 MB
196+
selenium/hub 2.53.1 2570bbb98229 33 minutes ago 394.4 MB
197+
selenium/base 2.53.1 33478d455dab 33 minutes ago 362.6 MB
184198
ubuntu 16.04 0b7735b9290f 6 days ago 123.7 MB
185199
```
186200

Standalone/entry_point.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515

1616
SERVERNUM=$(get_server_num)
1717
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
18-
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
18+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone-${SELENIUM_VERSION}.jar \
1919
${SE_OPTS} &
2020
NODE_PID=$!
2121

StandaloneChrome/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/node-chrome:2.53.0
1+
FROM selenium/node-chrome:2.53.1
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

StandaloneChrome/entry_point.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515

1616
SERVERNUM=$(get_server_num)
1717
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
18-
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
18+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone-${SELENIUM_VERSION}.jar \
1919
${SE_OPTS} &
2020
NODE_PID=$!
2121

StandaloneChromeDebug/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/standalone-chrome:2.53.0
1+
FROM selenium/standalone-chrome:2.53.1
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

StandaloneChromeDebug/entry_point.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ sudo -E -i -u seluser \
2121
$(for E in $(grep -vxFf asseluser asroot); do echo $E=$(eval echo \$$E); done) \
2222
DISPLAY=$DISPLAY \
2323
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
24-
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
24+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone-${SELENIUM_VERSION}.jar \
2525
${SE_OPTS} &
2626
NODE_PID=$!
2727

StandaloneDebug/entry_point.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ sudo -E -i -u seluser \
2020
$(for E in $(grep -vxFf asseluser asroot); do echo $E=$(eval echo \$$E); done) \
2121
DISPLAY=$DISPLAY \
2222
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
23-
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
23+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone-${SELENIUM_VERSION}.jar \
2424
${SE_OPTS} &
2525
NODE_PID=$!
2626

StandaloneFirefox/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/node-firefox:2.53.0
1+
FROM selenium/node-firefox:2.53.1
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

StandaloneFirefox/entry_point.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515

1616
SERVERNUM=$(get_server_num)
1717
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
18-
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
18+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone-${SELENIUM_VERSION}.jar \
1919
${SE_OPTS} &
2020
NODE_PID=$!
2121

StandaloneFirefoxDebug/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/standalone-firefox:2.53.0
1+
FROM selenium/standalone-firefox:2.53.1
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

StandaloneFirefoxDebug/entry_point.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ sudo -E -i -u seluser \
2020
$(for E in $(grep -vxFf asseluser asroot); do echo $E=$(eval echo \$$E); done) \
2121
DISPLAY=$DISPLAY \
2222
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
23-
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
23+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone-${SELENIUM_VERSION}.jar \
2424
${SE_OPTS} &
2525
NODE_PID=$!
2626

0 commit comments

Comments
 (0)