Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit d57a4c2

Browse files
committed
Upgrade Selenium 3.5 new endpoints
1 parent f960d3d commit d57a4c2

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

selenium-hub/bin/wait-selenium-hub.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ fi
1313
echo "Waiting for Selenium Hub to be ready..."
1414

1515
# Selenium <= 3.3.1 then: while ! curl -s "${SEL_STATUS_URL}" | jq '.status' | grep "13"; do
16-
SUCESS_CMD="jq .status | grep 13"
16+
# SUCESS_CMD="jq .status | grep 13"
1717

1818
# Selenium >= 3.5.0 then: while ! curl -s "${SEL_STATUS_URL}" | jq '.status' | grep "0"; do
19-
# SUCESS_CMD="jq .status | grep 0"
19+
SUCESS_CMD="jq .status | grep 0"
2020

2121
while ! curl -s "${SEL_STATUS_URL}" | sh -c "${SUCESS_CMD}"; do
2222
echo -n '.'

selenium-multinode/bin/wait-selenium-multinode.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ fi
1313
echo "Waiting for Selenium multi-node (Chrome & Firefox) to be ready..."
1414

1515
# Selenium <= 3.3.1 then: while ! curl -s "${SEL_STATUS_URL}" | jq '.state' | grep "success"; do
16-
SUCESS_CMD="jq .state | grep success"
16+
# SUCESS_CMD="jq .state | grep success"
1717

1818
# Selenium >= 3.5.0 then: while ! curl -s "${SEL_STATUS_URL}" | jq .value.ready | grep "true"; do
19-
# SUCESS_CMD="jq .value.ready | grep true"
19+
SUCESS_CMD="jq .value.ready | grep true"
2020

2121
while ! curl -s "${SEL_STATUS_URL}" | sh -c "${SUCESS_CMD}"; do
2222
echo -n '.'

selenium-node-chrome/bin/wait-selenium-node-chrome.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ fi
1313
echo "Waiting for Selenium Node Chrome ${CHROME_FLAVOR} to be ready..."
1414

1515
# Selenium <= 3.3.1 then: while ! curl -s "${SEL_STATUS_URL}" | jq '.state' | grep "success"; do
16-
SUCESS_CMD="jq .state | grep success"
16+
# SUCESS_CMD="jq .state | grep success"
1717

1818
# Selenium >= 3.5.0 then: while ! curl -s "${SEL_STATUS_URL}" | jq .value.ready | grep "true"; do
19-
# SUCESS_CMD="jq .value.ready | grep true"
19+
SUCESS_CMD="jq .value.ready | grep true"
2020

2121
while ! curl -s "${SEL_STATUS_URL}" | sh -c "${SUCESS_CMD}"; do
2222
echo -n '.'

selenium-node-firefox/bin/wait-selenium-node-firefox.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ fi
1313
echo "Waiting for Selenium Node Firefox ${FIREFOX_VERSION} to be ready..."
1414

1515
# Selenium <= 3.3.1 then: while ! curl -s "${SEL_STATUS_URL}" | jq '.state' | grep "success"; do
16-
SUCESS_CMD="jq .state | grep success"
16+
# SUCESS_CMD="jq .state | grep success"
1717

1818
# Selenium >= 3.5.0 then: while ! curl -s "${SEL_STATUS_URL}" | jq .value.ready | grep "true"; do
19-
# SUCESS_CMD="jq .value.ready | grep true"
19+
SUCESS_CMD="jq .value.ready | grep true"
2020

2121
while ! curl -s "${SEL_STATUS_URL}" | sh -c "${SUCESS_CMD}"; do
2222
echo -n '.'

0 commit comments

Comments
 (0)