GithubHelp home page GithubHelp logo

Comments (6)

christian-bromann avatar christian-bromann commented on August 16, 2024

@stevejhiggs yeah that was unfortunate implemented. I fixed it and published a new version v2.0.1

from gulp-webdriver.

azaslavsky avatar azaslavsky commented on August 16, 2024

Hi,
I'm using 2.0.1, and I am still experiencing the error described above. My code:

  gulp.src('wdio.conf.js')
      .pipe(wdio({
        host: 'localhost',
        port: 1234,
        logLevel: args.verbose ? 'verbose' : 'error',
        capabilities: capabilities
      }))
      .on('error', function(e) {
        //throw e;
      })
      .on('end', function() {
        console.log('I\'m finished!');
        if (!args.serverless) {
          servers.forEach(function(server) {
            server.kill();
          });
        }
        done();
      });

Any thoughts as to what I am doing wrong?

from gulp-webdriver.

christian-bromann avatar christian-bromann commented on August 16, 2024

Why can't you use the selenium-webdriver service? It seems that the end event is not propagated correctly

from gulp-webdriver.

azaslavsky avatar azaslavsky commented on August 16, 2024

I use appium for tests under certain configurations, so sometimes I need a plain old selenium server, whereas in other cases I need an appium server, or sometimes both. I just run shells scripts to create my own as child processes as needed, then kill them once the test runner has done its thing.

Either way, the "end" event should be fired for a gulp plugin.

from gulp-webdriver.

azaslavsky avatar azaslavsky commented on August 16, 2024

Is there a workaround I could use in the meantime, something that will be able to pick up when the test suite is over at least? If that were the case, I could kill the process myself.

from gulp-webdriver.

christian-bromann avatar christian-bromann commented on August 16, 2024

Let's continue the conversation in #47

from gulp-webdriver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.