File tree Expand file tree Collapse file tree 10 files changed +32
-23
lines changed Expand file tree Collapse file tree 10 files changed +32
-23
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ RUN apt-get update -qqy \
27
27
# Selenium
28
28
# ==========
29
29
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.1 .jar -O /opt/selenium/selenium-server-standalone.jar
31
31
32
32
# ========================================
33
33
# Add normal user with passwordless sudo
Original file line number Diff line number Diff line change 1
- FROM selenium/base:2.53.0
1
+ FROM selenium/base:2.53.1
2
2
MAINTAINER Selenium <
[email protected] >
3
3
4
4
# ========================
Original file line number Diff line number Diff line change 1
- FROM selenium/base:2.53.0
1
+ FROM selenium/base:2.53.1
2
2
MAINTAINER Selenium <
[email protected] >
3
3
4
4
ENV DEBIAN_FRONTEND noninteractive
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ if [ ! -e /opt/selenium/config.json ]; then
9
9
exit 1
10
10
fi
11
11
12
- if [ -z " $HUB_PORT_4444_TCP_ADDR " ]; then
13
- echo Not linked with a running Hub container 1>&2
14
- exit 1
15
- fi
12
+ # if [ -z "$HUB_PORT_4444_TCP_ADDR" ]; then
13
+ # echo Not linked with a running Hub container 1>&2
14
+ # exit 1
15
+ # fi
16
16
17
17
function shutdown {
18
18
kill -s SIGTERM $NODE_PID
32
32
# TODO: Look into http://www.seleniumhq.org/docs/05_selenium_rc.jsp#browser-side-logs
33
33
34
34
SERVERNUM=$( get_server_num)
35
+
36
+ rm -f /tmp/.X* lock
37
+
35
38
xvfb-run -n $SERVERNUM --server-args=" -screen 0 $GEOMETRY -ac +extension RANDR" \
36
39
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
37
40
-role node \
38
- -hub http://$HUB_PORT_4444_TCP_ADDR : $HUB_PORT_4444_TCP_PORT /grid/register \
41
+ -hub http://hub:4444 /grid/register \
39
42
${REMOTE_HOST_PARAM} \
40
43
-nodeConfig /opt/selenium/config.json \
41
44
${SE_OPTS} &
Original file line number Diff line number Diff line change 1
- FROM selenium/node-base:2.53.0
1
+ FROM selenium/node-base:2.53.1
2
2
MAINTAINER Selenium <
[email protected] >
3
3
4
4
USER root
@@ -17,7 +17,7 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key
17
17
# ==================
18
18
# Chrome webdriver
19
19
# ==================
20
- ENV CHROME_DRIVER_VERSION 2.21
20
+ ENV CHROME_DRIVER_VERSION 2.22
21
21
RUN wget --no-verbose -O /tmp/chromedriver_linux64.zip https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip \
22
22
&& rm -rf /opt/selenium/chromedriver \
23
23
&& unzip /tmp/chromedriver_linux64.zip -d /opt/selenium \
Original file line number Diff line number Diff line change 1
- FROM selenium/node-chrome:2.53.0
1
+ FROM selenium/node-chrome:2.53.1
2
2
MAINTAINER Selenium <
[email protected] >
3
3
4
4
USER root
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ if [ ! -e /opt/selenium/config.json ]; then
9
9
exit 1
10
10
fi
11
11
12
- if [ -z " $HUB_PORT_4444_TCP_ADDR " ]; then
13
- echo Not linked with a running Hub container 1>&2
14
- exit 1
15
- fi
12
+ # if [ -z "$HUB_PORT_4444_TCP_ADDR" ]; then
13
+ # echo Not linked with a running Hub container 1>&2
14
+ # exit 1
15
+ # fi
16
16
17
17
function shutdown {
18
18
kill -s SIGTERM $NODE_PID
32
32
# TODO: Look into http://www.seleniumhq.org/docs/05_selenium_rc.jsp#browser-side-logs
33
33
34
34
SERVERNUM=$( get_server_num)
35
+
36
+ rm -f /tmp/.X* lock
37
+
35
38
env | cut -f 1 -d " =" | sort > asroot
36
39
sudo -E -u seluser -i env | cut -f 1 -d " =" | sort > asseluser
37
40
sudo -E -i -u seluser \
@@ -40,7 +43,7 @@ env | cut -f 1 -d "=" | sort > asroot
40
43
xvfb-run -n $SERVERNUM --server-args=" -screen 0 $GEOMETRY -ac +extension RANDR" \
41
44
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
42
45
-role node \
43
- -hub http://$HUB_PORT_4444_TCP_ADDR : $HUB_PORT_4444_TCP_PORT /grid/register \
46
+ -hub http://hub:4444 /grid/register \
44
47
${REMOTE_HOST_PARAM} \
45
48
-nodeConfig /opt/selenium/config.json \
46
49
${SE_OPTS} &
Original file line number Diff line number Diff line change 1
- FROM selenium/node-base:2.53.0
1
+ FROM selenium/node-base:2.53.1
2
2
MAINTAINER Selenium <
[email protected] >
3
3
4
4
USER root
Original file line number Diff line number Diff line change 1
- FROM selenium/node-firefox:2.53.0
1
+ FROM selenium/node-firefox:2.53.1
2
2
MAINTAINER Selenium <
[email protected] >
3
3
4
4
USER root
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ if [ ! -e /opt/selenium/config.json ]; then
9
9
exit 1
10
10
fi
11
11
12
- if [ -z " $HUB_PORT_4444_TCP_ADDR " ]; then
13
- echo Not linked with a running Hub container 1>&2
14
- exit 1
15
- fi
12
+ # if [ -z "$HUB_PORT_4444_TCP_ADDR" ]; then
13
+ # echo Not linked with a running Hub container 1>&2
14
+ # exit 1
15
+ # fi
16
16
17
17
function shutdown {
18
18
kill -s SIGTERM $NODE_PID
32
32
# TODO: Look into http://www.seleniumhq.org/docs/05_selenium_rc.jsp#browser-side-logs
33
33
34
34
SERVERNUM=$( get_server_num)
35
+
36
+ rm -f /tmp/.X* lock
37
+
35
38
env | cut -f 1 -d " =" | sort > asroot
36
39
sudo -E -u seluser -i env | cut -f 1 -d " =" | sort > asseluser
37
40
sudo -E -i -u seluser \
@@ -40,7 +43,7 @@ env | cut -f 1 -d "=" | sort > asroot
40
43
xvfb-run -n $SERVERNUM --server-args=" -screen 0 $GEOMETRY -ac +extension RANDR" \
41
44
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
42
45
-role node \
43
- -hub http://$HUB_PORT_4444_TCP_ADDR : $HUB_PORT_4444_TCP_PORT /grid/register \
46
+ -hub http://hub:4444 /grid/register \
44
47
${REMOTE_HOST_PARAM} \
45
48
-nodeConfig /opt/selenium/config.json \
46
49
${SE_OPTS} &
You can’t perform that action at this time.
0 commit comments