appium/appium — pull request #2252 by matthewdunn (2014-04-03 14:49:30+00:00)
Title: Allow the ios_webkit_debug_proxy port to be configurable by specifying the port.

I have changed the code to allow the ios_webkit_debug_proxy port to be configurable by specifying the port.

If --webkit-port is set it will use the port that is passed in. If no port is set it will use the default 27753.

This is useful for when you have more than one real IOS device connected to your mac. And allows testing on both devices with mutiple instances of Appium.

Example usage would be running two appiums for two different ios devices.

ios_webkit_debug_proxy -c :27753 -d
node appium.js -a 127.0.0.1 -p 4723 -dp 4733 -U

ios_webkit_debug_proxy -c :27754 -d
node appium.js -a 127.0.0.1 -p 4723 -dp 4733 -U --webkit-port 27754