/// <summary>
        /// Validates the driver setup.
        /// </summary>
        /// <param name="logger">The logger.</param>
        protected override void ValidateDriverSetup(ILogger logger)
        {
            ISeleniumDriver seleniumDriver = this.CreateSeleniumDriver();

            seleniumDriver.Validate(this.Configuration, SeleniumDriverPath);
        }
Beispiel #2
0
        /// <summary>
        /// Validates the driver setup.
        /// </summary>
        /// <param name="browserType">Type of the browser.</param>
        /// <param name="browserFactoryConfiguration">The browser factory configuration.</param>
        protected override void ValidateDriverSetup(BrowserType browserType, BrowserFactoryConfigurationElement browserFactoryConfiguration)
        {
            ISeleniumDriver seleniumDriver = this.GetSeleniumDriver(browserType, browserFactoryConfiguration);

            seleniumDriver.Validate(SeleniumDriverPath);
        }