GithubHelp home page GithubHelp logo

Comments (7)

rochejul avatar rochejul commented on May 28, 2024 2

I will update too the protractor version and so close the issue #24

Cheers

from gulp-angular-protractor.

rochejul avatar rochejul commented on May 28, 2024 1

Hi,

It seems I need some refactoring, and to not use anymore gulp-protractor, because this one is very limited around the webdriver update instructions:

var webdriver_update = function(opts, cb) {
    var callback = (cb ? cb : opts);
    var options = (cb ? opts : null);
    var args = ["update", "--standalone"];
    if (options) {
        if (options.browsers) {
            options.browsers.forEach(function(element, index, array) {
                args.push("--" + element);
            });
        }
    }
    child_process.spawn(path.resolve(getProtractorDir() + '/webdriver-manager'+winExt), args, {
        stdio: 'inherit'
    }).once('close', callback);
};

Where we need to raise some instructions like so:

webdriver-manager update --android --android-api-levels 23 --android-abis armeabi-v7a

So I will create an experimental branch as soon as possible and try to check if it works

Thanks for your contribution

Cheers

Julien Roche

from gulp-angular-protractor.

rahulmr avatar rahulmr commented on May 28, 2024

Thanks a lot!

from gulp-angular-protractor.

rochejul avatar rochejul commented on May 28, 2024

Hi,

Can you try to use this branch: https://github.com/rochejul/gulp-angular-protractor/tree/experimental/appium

And so declare into your gulp file:

gulp.task('protractor', function(callback) {
    gulp
        .src(['example_spec.js'])
        .pipe(gulpProtractorAngular({
            'configFile': 'protractor.conf.js',
            'debug': false,
            'autoStartStopServer': true,
            'verbose': false,
            'webDriverUpdate': {
                'args': ['--android', '--android-api-levels', '23', '--android-abis', 'armeabi-v7a']
            }
        }))
        .on('error', function(e) {
            console.log(e);
        })
        .on('end', callback);
});

Many thanks

Cheers

from gulp-angular-protractor.

rahulmr avatar rahulmr commented on May 28, 2024

I am not aware how to use npm install for using the beta version of this package. Can I use the example present in the examples section or I will have to use my own?

from gulp-angular-protractor.

rochejul avatar rochejul commented on May 28, 2024

Simplify do:

npm install --save-dev https://github.com/rochejul/gulp-angular-protractor/tree/experimental/appium

It will declare as devDepency "gulp-angular-protractor" and download the code associated to the Git branch.

Cheers

from gulp-angular-protractor.

rochejul avatar rochejul commented on May 28, 2024

Hi

Have you got some feedbacks ?

Can I integrate the new branch ?

Many thanks

from gulp-angular-protractor.

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.