diff --git a/console_scripts/run.py b/console_scripts/run.py index f4203fdb79e..dacc0ac4c4f 100644 --- a/console_scripts/run.py +++ b/console_scripts/run.py @@ -121,7 +121,6 @@ def main(): elif num_args > 2: command = sys.argv[1] command_args = sys.argv[2:] - print command if command == "convert": if len(command_args) == 1: diff --git a/integrations/selenium_grid/grid-node b/integrations/selenium_grid/grid-node index 089801a5373..c9987421821 100755 --- a/integrations/selenium_grid/grid-node +++ b/integrations/selenium_grid/grid-node @@ -66,7 +66,7 @@ case "$1" in echo $PID > "${WEBDRIVER_NODE_PIDFILE}" echo "${SUCCESS_MSG} Selenium-WebDriver Grid node started successfully." echo "" - echo "Browser Sessions: http://${GRID_HUB_SERVER_IP}:5555/wd/hub/static/resource/hub.html" + echo "Browser Sessions: http://127.0.0.1:5555/wd/hub/static/resource/hub.html" echo "" # echo "To see full log output, remove the java.util.logging.config.file parameter from script/grid-node" fi diff --git a/integrations/selenium_grid/grid_hub.py b/integrations/selenium_grid/grid_hub.py index bdc86119604..bfe44fdcfee 100755 --- a/integrations/selenium_grid/grid_hub.py +++ b/integrations/selenium_grid/grid_hub.py @@ -69,6 +69,8 @@ def main(): print("\nStarting Selenium-WebDriver Grid Hub...\n") print(shell_command) print("") + print("Grid Hub Console: http://127.0.0.1:4444/grid/console") + print("") subprocess.check_call(shell_command, shell=True) elif grid_hub_command == "stop": print("") diff --git a/integrations/selenium_grid/grid_node.py b/integrations/selenium_grid/grid_node.py index ce77720a4e9..f2ad2f71c72 100755 --- a/integrations/selenium_grid/grid_node.py +++ b/integrations/selenium_grid/grid_node.py @@ -76,15 +76,19 @@ def main(): if grid_hub_command == "start" or grid_hub_command == "restart": shell_command = ( """java -jar %s/selenium-server-standalone.jar -role node """ - """-hub http://127.0.0.1:4444/grid/register -browser browser""" + """-hub http://%s:4444/grid/register -browser browser""" """Name=chrome,maxInstances=5,version=ANY,seleniumProtocol=""" """WebDriver -browser browserName=firefox,maxInstances=5,""" """version=ANY,seleniumProtocol=WebDriver -browser browser""" """Name=MicrosoftEdge,maxInstances=1,version=ANY,""" - """platform=WIN10,seleniumProtocol=WebDriver""" % dir_path) + """platform=WIN10,seleniumProtocol=WebDriver""" + % (dir_path, server_ip)) print("\nStarting Selenium-WebDriver Grid node...\n") print(shell_command) print("") + print("""Browser Sessions: http://127.0.0.1:5555""" + """/wd/hub/static/resource/hub.html""") + print("") subprocess.check_call(shell_command, shell=True) elif grid_hub_command == "stop": print("") diff --git a/setup.py b/setup.py index abcd8a2760b..07af6f2fd05 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name='seleniumbase', - version='1.12.0', + version='1.12.1', description='Web Automation & Testing Framework - http://seleniumbase.com', long_description='Web Automation and Testing Framework - seleniumbase.com', platforms='Mac * Windows * Linux * Docker',