Skip to content

Commit 8e2022a

Browse files
authored
Merge pull request #175 from seleniumbase/small-fixes
Small fixes
2 parents bc822c9 + 190368e commit 8e2022a

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

console_scripts/run.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ def main():
121121
elif num_args > 2:
122122
command = sys.argv[1]
123123
command_args = sys.argv[2:]
124-
print command
125124

126125
if command == "convert":
127126
if len(command_args) == 1:

integrations/selenium_grid/grid-node

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ case "$1" in
6666
echo $PID > "${WEBDRIVER_NODE_PIDFILE}"
6767
echo "${SUCCESS_MSG} Selenium-WebDriver Grid node started successfully."
6868
echo ""
69-
echo "Browser Sessions: http://${GRID_HUB_SERVER_IP}:5555/wd/hub/static/resource/hub.html"
69+
echo "Browser Sessions: http://127.0.0.1:5555/wd/hub/static/resource/hub.html"
7070
echo ""
7171
# echo "To see full log output, remove the java.util.logging.config.file parameter from script/grid-node"
7272
fi

integrations/selenium_grid/grid_hub.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ def main():
6969
print("\nStarting Selenium-WebDriver Grid Hub...\n")
7070
print(shell_command)
7171
print("")
72+
print("Grid Hub Console: http://127.0.0.1:4444/grid/console")
73+
print("")
7274
subprocess.check_call(shell_command, shell=True)
7375
elif grid_hub_command == "stop":
7476
print("")

integrations/selenium_grid/grid_node.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,19 @@ def main():
7676
if grid_hub_command == "start" or grid_hub_command == "restart":
7777
shell_command = (
7878
"""java -jar %s/selenium-server-standalone.jar -role node """
79-
"""-hub http://127.0.0.1:4444/grid/register -browser browser"""
79+
"""-hub http://%s:4444/grid/register -browser browser"""
8080
"""Name=chrome,maxInstances=5,version=ANY,seleniumProtocol="""
8181
"""WebDriver -browser browserName=firefox,maxInstances=5,"""
8282
"""version=ANY,seleniumProtocol=WebDriver -browser browser"""
8383
"""Name=MicrosoftEdge,maxInstances=1,version=ANY,"""
84-
"""platform=WIN10,seleniumProtocol=WebDriver""" % dir_path)
84+
"""platform=WIN10,seleniumProtocol=WebDriver"""
85+
% (dir_path, server_ip))
8586
print("\nStarting Selenium-WebDriver Grid node...\n")
8687
print(shell_command)
8788
print("")
89+
print("""Browser Sessions: http://127.0.0.1:5555"""
90+
"""/wd/hub/static/resource/hub.html""")
91+
print("")
8892
subprocess.check_call(shell_command, shell=True)
8993
elif grid_hub_command == "stop":
9094
print("")

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name='seleniumbase',
10-
version='1.12.0',
10+
version='1.12.1',
1111
description='Web Automation & Testing Framework - http://seleniumbase.com',
1212
long_description='Web Automation and Testing Framework - seleniumbase.com',
1313
platforms='Mac * Windows * Linux * Docker',

0 commit comments

Comments
 (0)