Category Archives: iOS automation using Appium

Hooking up iOS appium with Selenium Grid

You can register appium node with Selenium hub by using below command.

appium –nodeconfig iOSConfig.json -p 4723 -U 4df70d325d884031  -a 127.0.0.1

Here are the contents of iOSConfig.json file.

{
    "capabilities": [
        {
            "browserName": "iPhone-Simulator",
            "version": "9.0",
            "maxInstances": 1,
            "platform": "MAC"
        }
    ],
    "configuration": {
        "cleanUpCycle": 3000,
        "timeout": 400000,
      "browserTimeout": 70000,
        "hub": "http://localhost:4444/grid/register",
        "host": " 127.0.0.1",
        "maxSession": 1,
        "port": 4723,
        "hubPort": 4444,
        "hubHost": "127.0.0.1",
        "url": "http://127.0.0.1:4723/wd/hub",        
       "register": true,
       "registerCycle": 6000,
        "role": "node"
    }
}