public void Init()
        {
            _driverParameters                 = new DriverParameters();
            _driverParameters.BrowserName     = _testContextInstance.Properties["browserName"].ToString();
            _driverParameters.PlatformDesktop = _testContextInstance.Properties["platform"].ToString();

            _appConfig = ConfigurationManager.OpenExeConfiguration(Assembly.GetExecutingAssembly().Location);
            _driverParameters.SeleniumHub = _appConfig.AppSettings.Settings["Hub"].Value;


            _browser = new BaseBrowser(_driverParameters);
        }
Example #2
0
 public override int GetHashCode()
 {
     return(Tariff.GetHashCode() + DriverParameters.GetHashCode() + Unit.GetHashCode());
 }