docs: function (browserName, config) {
      var browser = this._verfiyBrowserConfig(browserName, config);
      var platform = this._verfiyPlatformConfig(browser);
      var driverConfig = config.get('driver.sauce');
      var desiredCaps = {
        browserName: browser.actAs,
        platform: platform,
        'screen-resolution': (browser['screen-resolution'] || null),
        version: (browser.version || this.desiredCapabilities['browser-version']),
        name: driverConfig.name || this.desiredCapabilities.name
      };
  
      // check if the user added tags
      if (driverConfig.tags) {
        desiredCaps.tags = driverConfig.tags;
      }
  
      // check if the user added a build id
      if (driverConfig.build) {
        desiredCaps.build = driverConfig.build;
      }
  
      return desiredCaps;
    }