https://github.com/appium/appium/tree/master/sample-code