How to start a test from Windows 7 to iOS

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

You can use 0.0.0.0 on the server side as it will attach the service to any valid IP address (including the loopback), but for the client you’ll want to specify the address of the Mac you are running the Appium server on.

Thank you. I’m able to kick off a script from windows and appium starts to execute. So the first step to Windows -> Mac is complete.

Now I have to do some lookup for this error
'/Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip

That might be tomorrows question.