Esempio n. 1
0
 public static void Init()
 {
     DriverFactory = new WebDriverFactory();
     Asserter      = new WebAssert();
     Timeouts      = new WebTimeoutSettings();
     Logger        = new NUnitLogger();
     MapInterfaceToElement.Init(DefaultInterfacesMap);
 }
Esempio n. 2
0
 public static void Init(ILogger logger           = null, IAssert assert = null,
                         TimeoutSettings timeouts = null, IDriver <IWebDriver> driverFactory = null)
 {
     DriverFactory = driverFactory ?? new WebDriverFactory();
     Asserter      = assert ?? new WebAssert();
     Timeouts      = timeouts ?? new WebTimeoutSettings();
     Logger        = logger ?? new LogAgregator(new NUnitLogger(), new Log4Net());
     MapInterfaceToElement.Init(DefaultInterfacesMap);
 }