Beispiel #1
0
 public DriverSetup(SauceLabsSettingsConfig sauceLabsSettings, DriverOptions driverOptions, SauceLabsOptions sauceLabsOptions, Proxy proxy = null)
 {
     _sauceLabsSettings = sauceLabsSettings;
     _driverOptions     = driverOptions;
     SauceLabsOptions   = sauceLabsOptions;
     _proxy             = proxy;
 }
Beispiel #2
0
 private SauceLabsSettingsConfig GetSauceLabsSettings()
 {
     _sauceLabsSettings = new SauceLabsSettingsConfig()
     {
         Username        = _config.SauceLabsUsername,
         AccessKey       = _config.SauceLabsAccessKey,
         RemoteServerUrl = _config.RemoteServer
     };
     return(_sauceLabsSettings);
 }
 public SauceLabsOptionsBuilder(DriverOptions driverOptions, SauceLabsOptions sauceLabsOptions, SauceLabsSettingsConfig sauceLabsSettings)
 {
     _driverOptions     = driverOptions;
     _sauceLabsOptions  = sauceLabsOptions;
     _sauceLabsSettings = sauceLabsSettings;
 }