gulp-angular-protractor/web-driver.js
function (optsOrCallback, cb) {
            let callback = cb ? cb : optsOrCallback;
            let options = cb ? optsOrCallback : null;
            let args = ['update', '--standalone'];
            let browsers = ['chrome'];

            if (options) {
                if (options.browsers && options.browsers.length > 0) {
                    browsers = options.browsers;
                }

                browsers.forEach(function (element) {
                    args.push('--' + element);
                });

                if (options.args) {
                    args = args.concat(options.args);
                }
            }

            childProcess
                .spawn(
                    COMMAND_RELATIVE_PATH + WEB_DRIVER_COMMAND,
                    args,
                    {
                        'cwd': protractorDirToUse,
                        'stdio': 'inherit'
                    }
                )
                .once('close', callback);
        }
function (optsOrCallback, cb) {
            let callback = cb ? cb : optsOrCallback;
            let options = cb ? optsOrCallback : null;
            let args = ['update', '--standalone'];
            let browsers = ['chrome'];

            if (options) {
                if (options.browsers && options.browsers.length > 0) {
                    browsers = options.browsers;
                }

                browsers.forEach(function (element) {
                    args.push('--' + element);
                });

                if (options.args) {
                    args = args.concat(options.args);
                }
            }

            childProcess
                .spawn(
                    COMMAND_RELATIVE_PATH + WEB_DRIVER_COMMAND,
                    args,
                    {
                        'cwd': protractorDirToUse,
                        'stdio': 'inherit'
                    }
                )
                .once('close', callback);
        }
Update the webDriver connector

@method
@static
@params {{ 'browsers' } | Function} optsOrCallback
@param {Function} cb