You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,10 @@ Note SeleniumHQ/docker-selenium project is more useful for building selenium gri
22
22
23
23
In general add `sudo` only if needed in your environment and `--privileged` or `-v /dev/shm:/dev/shm` if you really need it like when [Chrome crashes](https://github.com/elgalu/docker-selenium/issues/20) during your high gpu intensive tests.
24
24
25
-
docker pull elgalu/selenium:2.53.0a
25
+
docker pull elgalu/selenium:2.53.0b
26
26
27
27
docker run --rm --name=grid -p 4444:24444 -p 5920:25900 \
Make sure `docker run` finishes via active wait with below command. This is **mandatory** before start running your tests! Note `grid` is the name of the container:
31
31
@@ -70,12 +70,12 @@ Supervisor exposes an http server but is not enough to bind the ports via `docke
70
70
### Screen size
71
71
You can set a custom screen size at docker run time by providing `SCREEN_WIDTH` and `SCREEN_HEIGHT` environment variables:
72
72
73
-
docker pull elgalu/selenium:2.53.0a
73
+
docker pull elgalu/selenium:2.53.0b
74
74
75
75
docker run -d --name=grid -p 4444:24444 -p 5920:25900 \
76
76
-v /dev/shm:/dev/shm -e VNC_PASSWORD=hola \
77
77
-e SCREEN_WIDTH=1920 -e SCREEN_HEIGHT=1480 \
78
-
elgalu/selenium:2.53.0a
78
+
elgalu/selenium:2.53.0b
79
79
80
80
docker exec grid wait_all_done 10s
81
81
@@ -179,9 +179,9 @@ There are also additional steps you can take to ensure you're using the correct
179
179
180
180
You can simply verify that image id is indeed the correct one.
181
181
182
-
# e.g. full image id for tag 2.53.0a
182
+
# e.g. full image id for tag 2.53.0b
183
183
export IMGID="<<Please see CHANGELOG.md>>"
184
-
if docker inspect -f='{{.Id}}' elgalu/selenium:2.53.0a |grep ${IMGID} &> /dev/null; then
184
+
if docker inspect -f='{{.Id}}' elgalu/selenium:2.53.0b |grep ${IMGID} &> /dev/null; then
185
185
echo "Image ID tested ok"
186
186
else
187
187
echo "Image ID doesn't match"
@@ -191,7 +191,7 @@ You can simply verify that image id is indeed the correct one.
191
191
192
192
Given docker.io currently allows to push the same tag image twice this represent a security concern but since docker >= 1.6.2 is possible to fetch the digest sha256 instead of the tag so you can be sure you're using the exact same docker image every time:
@@ -320,7 +320,7 @@ If you git clone this repo locally, i.e. cd into where the Dockerfile is, you ca
320
320
321
321
If you prefer to download the final built image from docker you can pull it, personally I always prefer to build them manually except for the base images like Ubuntu 14.04.2:
The important part above is `-e CHROME=false -e FIREFOX=false` which tells the docker image not run run default chorme and firefox nodes turning the container into a grid-only one.
338
345
@@ -346,7 +353,7 @@ You can lunch a node only container via environment variables:
346
353
-e SELENIUM_HUB_PORT=4444 \
347
354
-e SELENIUM_NODE_HOST=docker.host \
348
355
-e GRID=false -e CHROME=true -e FIREFOX=true \
349
-
elgalu/selenium:2.53.0a
356
+
elgalu/selenium:2.53.0b
350
357
351
358
The important part above is `-e GRID=false` which tells the container to be a node-only node, this this case with 2 browsers `-e CHROME=true -e FIREFOX=true` but could be just 1.
352
359
@@ -360,7 +367,7 @@ Start the grid with Chrome and Firefox
0 commit comments