Skip to content

Commit 347ffef

Browse files
committed
Upgrade Selenium to version 2.47.1.
1 parent d9c04f1 commit 347ffef

File tree

18 files changed

+35
-35
lines changed

18 files changed

+35
-35
lines changed

Base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN apt-get update -qqy \
2424
# Selenium
2525
#==========
2626
RUN mkdir -p /opt/selenium \
27-
&& wget --no-verbose http://selenium-release.storage.googleapis.com/2.47/selenium-server-standalone-2.47.0.jar -O /opt/selenium/selenium-server-standalone.jar
27+
&& wget --no-verbose http://selenium-release.storage.googleapis.com/2.47/selenium-server-standalone-2.47.1.jar -O /opt/selenium/selenium-server-standalone.jar
2828

2929
#========================================
3030
# 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.47.0
1+
FROM selenium/base:2.47.1
22
MAINTAINER Selenium <[email protected]>
33

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

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME := selenium
2-
VERSION := $(or $(VERSION),$(VERSION),'2.47.0')
2+
VERSION := $(or $(VERSION),$(VERSION),'2.47.1')
33
PLATFORM := $(shell uname -s)
44

55
all: hub chrome firefox chromedebug firefoxdebug standalone_chrome standalone_firefox standalone_debug_chrome standalone_debug_firefox

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.47.0
1+
FROM selenium/base:2.47.1
22
MAINTAINER Selenium <[email protected]>
33

44
ENV DEBIAN_FRONTEND noninteractive

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.47.0
1+
FROM selenium/node-base:2.47.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.47.0
1+
FROM selenium/node-chrome:2.47.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.47.0
41+
FROM selenium/node-chrome-debug:2.47.1
4242

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

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.47.0
41+
FROM selenium/##BASE##-debug:2.47.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.47.0
1+
FROM selenium/node-base:2.47.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.47.0
1+
FROM selenium/node-firefox:2.47.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.47.0
41+
FROM selenium/node-firefox-debug:2.47.1
4242

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

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ Images included:
2525
### Standalone Chrome and Firefox
2626

2727
``` bash
28-
$ docker run -d -p 4444:4444 selenium/standalone-chrome:2.47.0
28+
$ docker run -d -p 4444:4444 selenium/standalone-chrome:2.47.1
2929
# OR
30-
$ docker run -d -p 4444:4444 selenium/standalone-firefox:2.47.0
30+
$ docker run -d -p 4444:4444 selenium/standalone-firefox:2.47.1
3131
```
3232

3333
_Note: Only one standalone image can run on port_ `4444` _at a time._
@@ -37,22 +37,22 @@ To inspect visually what the browser is doing use the `standalone-chrome-debug`
3737
### Selenium Grid Hub
3838

3939
``` bash
40-
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub:2.47.0
40+
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub:2.47.1
4141
```
4242

4343
### Chrome and Firefox Grid Nodes
4444

4545
``` bash
46-
$ docker run -d --link selenium-hub:hub selenium/node-chrome:2.47.0
47-
$ docker run -d --link selenium-hub:hub selenium/node-firefox:2.47.0
46+
$ docker run -d --link selenium-hub:hub selenium/node-chrome:2.47.1
47+
$ docker run -d --link selenium-hub:hub selenium/node-firefox:2.47.1
4848
```
4949

5050
### Java Environment Options
5151

5252
You can pass JAVA_OPTS environment variable to selenium java processes.
5353

5454
``` bash
55-
$ docker run -d -p 4444:4444 -e JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:2.47.0
55+
$ docker run -d -p 4444:4444 -e JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:2.47.1
5656
```
5757

5858
## Building the images
@@ -76,10 +76,10 @@ _Note: Omitting_ `VERSION=local` _will build the images with the current version
7676
##### Example: Spawn a container for testing in Chrome:
7777

7878
``` bash
79-
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:2.47.0
79+
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:2.47.1
8080
$ CH=$(docker run --rm --name=ch \
8181
--link selenium-hub:hub -v /e2e/uploads:/e2e/uploads \
82-
selenium/node-chrome:2.47.0)
82+
selenium/node-chrome:2.47.1)
8383
```
8484

8585
_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._
@@ -89,10 +89,10 @@ _Note:_ `-v /e2e/uploads:/e2e/uploads` _is optional in case you are testing brow
8989
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.
9090

9191
``` bash
92-
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:2.47.0
92+
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:2.47.1
9393
$ FF=$(docker run --rm --name=fx \
9494
--link selenium-hub:hub -v /e2e/uploads:/e2e/uploads \
95-
selenium/node-firefox:2.47.0)
95+
selenium/node-firefox:2.47.1)
9696
```
9797

9898
_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/)._
@@ -101,15 +101,15 @@ _Note: Since a Docker container is not meant to preserve state and spawning a ne
101101

102102
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:
103103
``` bash
104-
$ docker run -d -P --link selenium-hub:hub selenium/node-chrome-debug:2.47.0
105-
$ docker run -d -P --link selenium-hub:hub selenium/node-firefox-debug:2.47.0
104+
$ docker run -d -P --link selenium-hub:hub selenium/node-chrome-debug:2.47.1
105+
$ docker run -d -P --link selenium-hub:hub selenium/node-firefox-debug:2.47.1
106106
```
107107

108108
And for standalone:
109109
``` bash
110-
$ docker run -d -p 4444:4444 selenium/standalone-chrome-debug:2.47.0
110+
$ docker run -d -p 4444:4444 selenium/standalone-chrome-debug:2.47.1
111111
# OR
112-
$ docker run -d -p 4444:4444 selenium/standalone-firefox-debug:2.47.0
112+
$ docker run -d -p 4444:4444 selenium/standalone-firefox-debug:2.47.1
113113
```
114114

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

128128
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:
129129
``` dockerfile
130-
#FROM selenium/node-chrome-debug:2.47.0
131-
#FROM selenium/node-firefox-debug:2.47.0
130+
#FROM selenium/node-chrome-debug:2.47.1
131+
#FROM selenium/node-firefox-debug:2.47.1
132132
#Choose the FROM statement that works for you.
133133

134134
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd

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.47.0
1+
FROM selenium/node-chrome:2.47.1
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

StandaloneDebugChrome/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.47.0
1+
FROM selenium/standalone-chrome:2.47.1
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

StandaloneDebugFirefox/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.47.0
1+
FROM selenium/standalone-firefox:2.47.1
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

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.47.0
1+
FROM selenium/node-firefox:2.47.1
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

sa-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function test_standalone {
1313
BROWSER=$1
1414
echo Starting Selenium standalone-$BROWSER$DEBUG container
1515

16-
SA=$(docker run -d selenium/standalone-$BROWSER$DEBUG:2.47.0)
16+
SA=$(docker run -d selenium/standalone-$BROWSER$DEBUG:2.47.1)
1717
SA_NAME=$(docker inspect -f '{{ .Name }}' $SA | sed s:/::)
1818
TEST_CMD="node smoke-$BROWSER.js"
1919

test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ echo Building test container image
99
docker build -t selenium/test:local ./Test
1010

1111
echo Starting Selenium Container
12-
HUB=$(docker run -d selenium/hub:2.47.0)
12+
HUB=$(docker run -d selenium/hub:2.47.1)
1313
HUB_NAME=$(docker inspect -f '{{ .Name }}' $HUB | sed s:/::)
1414
sleep 2
1515

16-
NODE_CHROME=$(docker run -d --link $HUB_NAME:hub selenium/node-chrome$DEBUG:2.47.0)
17-
NODE_FIREFOX=$(docker run -d --link $HUB_NAME:hub selenium/node-firefox$DEBUG:2.47.0)
16+
NODE_CHROME=$(docker run -d --link $HUB_NAME:hub selenium/node-chrome$DEBUG:2.47.1)
17+
NODE_FIREFOX=$(docker run -d --link $HUB_NAME:hub selenium/node-firefox$DEBUG:2.47.1)
1818

1919
docker logs -f $HUB &
2020
docker logs -f $NODE_CHROME &

0 commit comments

Comments
 (0)