public void RegisterBrowserFactory(IFastModeFactory factory) { if (!SeleniumTestsConfiguration.FastMode) { throw new Exception("Registration of FastMode factories is not allowed when the SeleniumTestsConfiguration.FastMode is false."); } BrowserFactories.Add(factory); }
public void RegisterBrowserFactory(IFastModeFactory factory) { if (!SeleniumTestsConfiguration.FastMode) throw new Exception("Registration of FastMode factories is not allowed when the SeleniumTestsConfiguration.FastMode is false."); BrowserFactories.Add(factory); }