From ea4e00d5903cdabaa10737143408a1b61baa3110 Mon Sep 17 00:00:00 2001 From: addshore Date: Thu, 7 Jun 2018 17:27:06 +0100 Subject: [PATCH] Use wd/hub not /wd/hub in selenium.sh I have run into this before and we fixed it in the README but not in this script (I wasn't using this script at the time) This was changed in the README in change: I85a9e7dbd9a66418c85585969adb5ac1548f5ef6 Bug: T182421 Change-Id: I6ab92c6a61a57dc313b05321d0789dcbeb776c94 --- tests/selenium/selenium.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/selenium/selenium.sh b/tests/selenium/selenium.sh index 93f03b4926..f6bb944e0b 100755 --- a/tests/selenium/selenium.sh +++ b/tests/selenium/selenium.sh @@ -3,7 +3,7 @@ set -euo pipefail # Check the command before running in background so # that it can actually fail and have a descriptive error hash chromedriver -chromedriver --url-base=/wd/hub --port=4444 & +chromedriver --url-base=wd/hub --port=4444 & CHROME_DRIVER_PID=$! echo chromedriver running with PID $CHROME_DRIVER_PID # Make sure it is killed to prevent file descriptors leak -- 2.20.1