Skip to content

Commit cff3315

Browse files
committed
Switching back to the previous Selenium files path (2)
1 parent 0f12883 commit cff3315

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

NodeChromeDebug/entry_point.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
#!/bin/bash
2+
#
3+
# IMPORTANT: Change this file only in directory NodeDebug!
24

35
source /opt/bin/functions.sh
4-
/opt/bin/generate_config > /home/seluser/selenium/config.json
6+
/opt/bin/generate_config > /opt/selenium/config.json
57

68
export GEOMETRY="$SCREEN_WIDTH""x""$SCREEN_HEIGHT""x""$SCREEN_DEPTH"
79

8-
if [ ! -e /home/seluser/selenium/config.json ]; then
10+
if [ ! -e /opt/selenium/config.json ]; then
911
echo No Selenium Node configuration file, the node-base image is not intended to be run directly. 1>&2
1012
exit 1
1113
fi
@@ -35,10 +37,10 @@ rm -f /tmp/.X*lock
3537

3638
DISPLAY=$DISPLAY \
3739
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
38-
java ${JAVA_OPTS} -jar /home/seluser/selenium/selenium-server-standalone.jar \
40+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
3941
-role node \
4042
-hub http://$HUB_PORT_4444_TCP_ADDR:$HUB_PORT_4444_TCP_PORT/grid/register \
41-
-nodeConfig /home/seluser/selenium/config.json \
43+
-nodeConfig /opt/selenium/config.json \
4244
${SE_OPTS} &
4345
NODE_PID=$!
4446

NodeFirefoxDebug/entry_point.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
#!/bin/bash
2+
#
3+
# IMPORTANT: Change this file only in directory NodeDebug!
24

35
source /opt/bin/functions.sh
4-
/opt/bin/generate_config > /home/seluser/selenium/config.json
6+
/opt/bin/generate_config > /opt/selenium/config.json
57

68
export GEOMETRY="$SCREEN_WIDTH""x""$SCREEN_HEIGHT""x""$SCREEN_DEPTH"
79

8-
if [ ! -e /home/seluser/selenium/config.json ]; then
10+
if [ ! -e /opt/selenium/config.json ]; then
911
echo No Selenium Node configuration file, the node-base image is not intended to be run directly. 1>&2
1012
exit 1
1113
fi
@@ -35,10 +37,10 @@ rm -f /tmp/.X*lock
3537

3638
DISPLAY=$DISPLAY \
3739
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
38-
java ${JAVA_OPTS} -jar /home/seluser/selenium/selenium-server-standalone.jar \
40+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
3941
-role node \
4042
-hub http://$HUB_PORT_4444_TCP_ADDR:$HUB_PORT_4444_TCP_PORT/grid/register \
41-
-nodeConfig /home/seluser/selenium/config.json \
43+
-nodeConfig /opt/selenium/config.json \
4244
${SE_OPTS} &
4345
NODE_PID=$!
4446

StandaloneChrome/entry_point.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
#
3+
# IMPORTANT: Change this file only in directory Standalone!
24

35
source /opt/bin/functions.sh
46

@@ -18,7 +20,7 @@ SERVERNUM=$(get_server_num)
1820
rm -f /tmp/.X*lock
1921

2022
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
21-
java ${JAVA_OPTS} -jar /home/seluser/selenium/selenium-server-standalone.jar \
23+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
2224
${SE_OPTS} &
2325
NODE_PID=$!
2426

StandaloneFirefox/entry_point.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
#
3+
# IMPORTANT: Change this file only in directory Standalone!
24

35
source /opt/bin/functions.sh
46

@@ -18,7 +20,7 @@ SERVERNUM=$(get_server_num)
1820
rm -f /tmp/.X*lock
1921

2022
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
21-
java ${JAVA_OPTS} -jar /home/seluser/selenium/selenium-server-standalone.jar \
23+
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
2224
${SE_OPTS} &
2325
NODE_PID=$!
2426

0 commit comments

Comments
 (0)