Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Cannot call before/after hook in additional arguments #43

@ando771

Description

@ando771

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions