File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
integrations/selenium_grid Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -76,15 +76,19 @@ def main():
76
76
if grid_hub_command == "start" or grid_hub_command == "restart" :
77
77
shell_command = (
78
78
"""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"""
80
80
"""Name=chrome,maxInstances=5,version=ANY,seleniumProtocol="""
81
81
"""WebDriver -browser browserName=firefox,maxInstances=5,"""
82
82
"""version=ANY,seleniumProtocol=WebDriver -browser browser"""
83
83
"""Name=MicrosoftEdge,maxInstances=1,version=ANY,"""
84
- """platform=WIN10,seleniumProtocol=WebDriver""" % dir_path )
84
+ """platform=WIN10,seleniumProtocol=WebDriver"""
85
+ % (dir_path , server_ip ))
85
86
print ("\n Starting Selenium-WebDriver Grid node...\n " )
86
87
print (shell_command )
87
88
print ("" )
89
+ print ("""Browser Sessions: http://127.0.0.1:5555"""
90
+ """/wd/hub/static/resource/hub.html""" )
91
+ print ("" )
88
92
subprocess .check_call (shell_command , shell = True )
89
93
elif grid_hub_command == "stop" :
90
94
print ("" )
You can’t perform that action at this time.
0 commit comments