I'm trying to find out how to connect to my remote WebDevice example.
This is the code I am currently using:
selenium.remote.Webdriver Import WebDrive Driver = WebDriver ("http://172.16.205.129:4444" , "Firefox", "ANI") driver.get ('http: //google.com') driver.quit ()
I think I can not connect and a The connection will be rejected, or if I play around with the code
You need to be sure Do that selenium
server hub And the node is set before the test. Please .
For example, hub run
java - selenium-server- standalone-2.5.0.jar -lal hub
Example: Connect to the hub on the node, run
java - selenium-server-standalone-2.5.0.jar-web web-hub http: // localhost: 4444 / grid / Registration - Port 5555
You can have as many nodes as you want.
Comments
Post a Comment