webdriverio-boneyard / gulp-webdriver

gulp-webdriver is a gulp plugin to run selenium tests with the WebdriverIO testrunner
http://webdriver.io
MIT License
76 stars 33 forks source link

Help required with Appium example #55

Open rahulmr opened 7 years ago

rahulmr commented 7 years ago

Hello @christian-bromann , Sorry for the trouble but I was just looking for starting and stopping appium as a child process and came across this example.

Here selenium server is started before the test as a child process and once the test is done, the child process is killed.

Could you please help me to do the same for appium.cmd where I can utilize the wdio.conf.js file and mocha?

I was trying to create a gulp task using gulp-run and was able to start the appium server using appium.cmd.

gulp.task('startApp', function() {
  return run(path.join('node_modules', '.bin', 'appium.cmd')).exec()
    .pipe(gulp.dest('appiumo.log')) ;
})

But wanted to start it as child process which can be killed later and it should be async(may be).