I run something like this:
gulp.task('test', function (cb) {
return gulp.src('wdio.conf.js').pipe(webdriver({
onComplete: function () {
console.log('`onComplete` call')
},
before: function () {
console.log('`before` hook');
},
after: function (){
console.log('`after` hook')
}
}));
})
but "before" and "after" hooks not calling. If it was defined in wdio.conf.js, then hooks call successfully.
I am using webdriver@4.0.9 and gulp-webdriver@2.0.1
I run something like this:
but "before" and "after" hooks not calling. If it was defined in
wdio.conf.js, then hooks call successfully.I am using webdriver@4.0.9 and gulp-webdriver@2.0.1