To run this example:
- Make sure Appium 2 and the XCUITest driver are available
npm install
in this directory- Update any of the capabilities that don't make sense for your system (iOS versions, etc...)
Now, in 5 different terminal windows opened up to this dir, run:
appium --config appium1.yml
appium --config appium2.yml
java -jar /path/to/selenium.jar node --config node1.toml
java -jar /path/to/selenium.jar node --config node2.toml
java -jar /path/to/selenium.jar hub
At this point, in another window, you can run node test.js
to start 2 sessions simultaneously via
the grid, and end them.