コード例 #1
0
        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);
        }
コード例 #2
0
 public override int GetHashCode()
 {
     return(Tariff.GetHashCode() + DriverParameters.GetHashCode() + Unit.GetHashCode());
 }