Ejemplo n.º 1
0
        public void RunStandaloneBrowserTests(WebDriverType driverType, decimal version)
        {
            _testSettings.TestType      = TestType.StandaloneBrowser;
            _testSettings.DriverType    = driverType;
            _testSettings.TestDirectory = _testSettings.TestDirectory + "\\Standalone Browsers\\";
            _driver = WebDriverManager.InitializeStandaloneBrowserDriver(_testSettings, version, _testOutputHelper);
            if (_driver == null)
            {
                throw new NullReferenceException("_driver cannot be null");
            }

            PerformTest();

            _driver.Close();
        }