Skip to content

Commit 76ee6fc

Browse files
author
rubytester
committed
Merge pull request SeleniumHQ#106 from kayabendroth/maint/upgrade-selenium-to-2.48.1
Upgrade Selenium to version 2.48.1.
2 parents 84cb6bc + fbf9056 commit 76ee6fc

File tree

18 files changed

+41
-41
lines changed

18 files changed

+41
-41
lines changed

Base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUN apt-get update -qqy \
2525
# Selenium
2626
#==========
2727
RUN mkdir -p /opt/selenium \
28-
&& 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
28+
&& wget --no-verbose http://selenium-release.storage.googleapis.com/2.48/selenium-server-standalone-2.48.1.jar -O /opt/selenium/selenium-server-standalone.jar
2929

3030
#========================================
3131
# 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.1
1+
FROM selenium/base:2.48.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.1')
2+
VERSION := $(or $(VERSION),$(VERSION),'2.48.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.1
1+
FROM selenium/base:2.48.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.1
1+
FROM selenium/node-base:2.48.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.1
1+
FROM selenium/node-chrome:2.48.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.1
41+
FROM selenium/node-chrome-debug:2.48.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.1
41+
FROM selenium/##BASE##-debug:2.48.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.1
1+
FROM selenium/node-base:2.48.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.1
1+
FROM selenium/node-firefox:2.48.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.1
41+
FROM selenium/node-firefox-debug:2.48.1
4242

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

README.md

Lines changed: 22 additions & 22 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.47.1
28+
$ docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:2.48.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.47.1
37+
$ docker run -d -p 4444:4444 selenium/standalone-chrome:2.48.1
3838
# OR
39-
$ docker run -d -p 4444:4444 selenium/standalone-firefox:2.47.1
39+
$ docker run -d -p 4444:4444 selenium/standalone-firefox:2.48.1
4040
```
4141

4242
_Note: Only one standalone image can run on port_ `4444` _at a time._
@@ -46,22 +46,22 @@ 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.47.1
49+
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub:2.48.1
5050
```
5151

5252
### Chrome and Firefox Grid Nodes
5353

5454
``` bash
55-
$ docker run -d --link selenium-hub:hub selenium/node-chrome:2.47.1
56-
$ docker run -d --link selenium-hub:hub selenium/node-firefox:2.47.1
55+
$ docker run -d --link selenium-hub:hub selenium/node-chrome:2.48.1
56+
$ docker run -d --link selenium-hub:hub selenium/node-firefox:2.48.1
5757
```
5858

5959
### Java Environment Options
6060

6161
You can pass JAVA_OPTS environment variable to selenium java processes.
6262

6363
``` bash
64-
$ docker run -d -p 4444:4444 -e JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:2.47.1
64+
$ docker run -d -p 4444:4444 -e JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:2.48.1
6565
```
6666

6767
## Building the images
@@ -85,10 +85,10 @@ _Note: Omitting_ `VERSION=local` _will build the images with the current version
8585
##### Example: Spawn a container for testing in Chrome:
8686

8787
``` bash
88-
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:2.47.1
88+
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:2.48.1
8989
$ CH=$(docker run --rm --name=ch \
9090
--link selenium-hub:hub -v /e2e/uploads:/e2e/uploads \
91-
selenium/node-chrome:2.47.1)
91+
selenium/node-chrome:2.48.1)
9292
```
9393

9494
_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._
@@ -98,10 +98,10 @@ _Note:_ `-v /e2e/uploads:/e2e/uploads` _is optional in case you are testing brow
9898
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.
9999

100100
``` bash
101-
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:2.47.1
101+
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:2.48.1
102102
$ FF=$(docker run --rm --name=fx \
103103
--link selenium-hub:hub -v /e2e/uploads:/e2e/uploads \
104-
selenium/node-firefox:2.47.1)
104+
selenium/node-firefox:2.48.1)
105105
```
106106

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

111111
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:
112112
``` bash
113-
$ docker run -d -P --link selenium-hub:hub selenium/node-chrome-debug:2.47.1
114-
$ docker run -d -P --link selenium-hub:hub selenium/node-firefox-debug:2.47.1
113+
$ docker run -d -P --link selenium-hub:hub selenium/node-chrome-debug:2.48.1
114+
$ docker run -d -P --link selenium-hub:hub selenium/node-firefox-debug:2.48.1
115115
```
116116

117117
And for standalone:
118118
``` bash
119-
$ docker run -d -p 4444:4444 selenium/standalone-chrome-debug:2.47.1
119+
$ docker run -d -p 4444:4444 selenium/standalone-chrome-debug:2.48.1
120120
# OR
121-
$ docker run -d -p 4444:4444 selenium/standalone-firefox-debug:2.47.1
121+
$ docker run -d -p 4444:4444 selenium/standalone-firefox-debug:2.48.1
122122
```
123123

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

137137
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:
138138
``` dockerfile
139-
#FROM selenium/node-chrome-debug:2.47.1
140-
#FROM selenium/node-firefox-debug:2.47.1
139+
#FROM selenium/node-chrome-debug:2.48.1
140+
#FROM selenium/node-firefox-debug:2.48.1
141141
#Choose the FROM statement that works for you.
142142

143143
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
@@ -149,11 +149,11 @@ RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
149149
$ docker images
150150
#=>
151151
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
152-
selenium/node-firefox 2.47.1 69f762d0d79e 29 minutes ago 552.1 MB
153-
selenium/node-chrome 2.47.1 9dd73160660b 30 minutes ago 723.6 MB
154-
selenium/node-base 2.47.1 1b7a0b7024b1 32 minutes ago 426.1 MB
155-
selenium/hub 2.47.1 2570bbb98229 33 minutes ago 394.4 MB
156-
selenium/base 2.47.1 33478d455dab 33 minutes ago 362.6 MB
152+
selenium/node-firefox 2.48.1 69f762d0d79e 29 minutes ago 552.1 MB
153+
selenium/node-chrome 2.48.1 9dd73160660b 30 minutes ago 723.6 MB
154+
selenium/node-base 2.48.1 1b7a0b7024b1 32 minutes ago 426.1 MB
155+
selenium/hub 2.48.1 2570bbb98229 33 minutes ago 394.4 MB
156+
selenium/base 2.48.1 33478d455dab 33 minutes ago 362.6 MB
157157
ubuntu 15.04 013f3d01d247 6 days ago 131.4 MB
158158
```
159159

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.1
1+
FROM selenium/node-chrome:2.48.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.1
1+
FROM selenium/standalone-chrome:2.48.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.1
1+
FROM selenium/standalone-firefox:2.48.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.1
1+
FROM selenium/node-firefox:2.48.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.1)
16+
SA=$(docker run -d selenium/standalone-$BROWSER$DEBUG:2.48.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,16 +9,16 @@ echo Building test container image
99
docker build -t selenium/test:local ./Test
1010

1111
echo 'Starting Selenium Hub Container...'
12-
HUB=$(docker run -d selenium/hub:2.47.1)
12+
HUB=$(docker run -d selenium/hub:2.48.1)
1313
HUB_NAME=$(docker inspect -f '{{ .Name }}' $HUB | sed s:/::)
1414
echo 'Waiting for Hub to come online...'
1515
docker logs -f $HUB &
1616
sleep 2
1717

1818
echo 'Starting Selenium Chrome node...'
19-
NODE_CHROME=$(docker run -d --link $HUB_NAME:hub selenium/node-chrome$DEBUG:2.47.1)
19+
NODE_CHROME=$(docker run -d --link $HUB_NAME:hub selenium/node-chrome$DEBUG:2.48.1)
2020
echo 'Starting Selenium Firefox node...'
21-
NODE_FIREFOX=$(docker run -d --link $HUB_NAME:hub selenium/node-firefox$DEBUG:2.47.1)
21+
NODE_FIREFOX=$(docker run -d --link $HUB_NAME:hub selenium/node-firefox$DEBUG:2.48.1)
2222
docker logs -f $NODE_CHROME &
2323
docker logs -f $NODE_FIREFOX &
2424
echo 'Waiting for nodes to register and come online...'

0 commit comments

Comments
 (0)