code: 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);
          }
docs: Update the webDriver connector
  
  @method
  @static
  @params {{ 'browsers' } | Function} optsOrCallback
  @param {Function} cb