public static Init ( Type>.Dictionary |
||
map | Type>.Dictionary | |
return | void |
public static void Init() { DriverFactory = new WebDriverFactory(); Asserter = new WebAssert(); Timeouts = new WebTimeoutSettings(); Logger = new NUnitLogger(); MapInterfaceToElement.Init(DefaultInterfacesMap); }
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); }