markelog / gulp-wdio

Better gulp plugin for webdriver.io
MIT License
4 stars 0 forks source link

Clarification in documentation #1

Closed jriver27 closed 8 years ago

jriver27 commented 8 years ago

It took me a while to understand exactly how to use this package. The documentation should be clearer. This is how I got it to work

var wdio = require('gulp-wdio');

gulp.task('e2e', function () {
  return gulp.src('path/to/wdio.conf.js').pipe(wdio({
    type: 'selenium', 
    wdio: {} 
  }));
});
markelog commented 8 years ago

Improved, how does it looks now?

jriver27 commented 8 years ago

Great. Thanks.