Change default timeout values for the Selenium Grid
This commit is contained in:
parent
beaccc9393
commit
ea63de8513
|
@ -34,7 +34,7 @@ if [ "$GRID_HUB_VERBOSE_LOGS" == "True" ]; then
|
|||
fi
|
||||
|
||||
WEBDRIVER_SERVER_JAR=${DIR}/selenium-server-standalone.jar
|
||||
WEBDRIVER_HUB_PARAMS="-role hub -timeout 30 -browserTimeout 60 -port 4444"
|
||||
WEBDRIVER_HUB_PARAMS="-role hub -timeout 180 -browserTimeout 75 -port 4444"
|
||||
WEBDRIVER_HUB_PIDFILE="/tmp/webdriver_hub.pid"
|
||||
|
||||
if [ ! -f $WEBDRIVER_SERVER_JAR ]; then
|
||||
|
|
|
@ -79,7 +79,7 @@ def main():
|
|||
if grid_hub_command == "start" or grid_hub_command == "restart":
|
||||
shell_command = (
|
||||
"""java -jar %s/selenium-server-standalone.jar -role hub """
|
||||
"""-timeout 30 -browserTimeout 60 -port 4444""" % dir_path)
|
||||
"""-timeout 180 -browserTimeout 75 -port 4444""" % dir_path)
|
||||
print("\nStarting Selenium-WebDriver Grid Hub...\n")
|
||||
print(shell_command)
|
||||
print("")
|
||||
|
|
|
@ -1 +1 @@
|
|||
java -jar selenium-server-standalone.jar -role hub -timeout 30 -browserTimeout 60 -port 4444
|
||||
java -jar selenium-server-standalone.jar -role hub -timeout 180 -browserTimeout 75 -port 4444
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
java -jar selenium-server-standalone.jar -role hub -timeout 30 -browserTimeout 60 -port 4444
|
||||
java -jar selenium-server-standalone.jar -role hub -timeout 180 -browserTimeout 75 -port 4444
|
Loading…
Reference in New Issue