I follow this tutorial to set up testing in my app with appium and webdriver.
my wdio.config is
exports.config = { services: [\'appium\'], port: 47