I have written a simple script using selenium (rubygems) which I have tested on a android phone. What I would like to do is execute a test from my Windows machine to a Mac with an iPad connected to it. Here is the code I used to initialize the android (the android, webdriver and Appium are all connected to the same windows machine)
driver = Selenium::WebDriver.for(:remote, :url => "http://127.0.0.1:4723/wd/hub") # Works for Android
I tried using this line thinking it would be able to see the mac over the network, but I was incorrect.
driver = Selenium::WebDriver.for(:remote, :url => "http://0.0.0.0:4723/wd/hub")
Am I to change the 0.0.0.0 to the mac’s ip (which has appium installed) or something different?
Thanks