Наследование: OpenQA.Selenium.Remote.RemoteWebDriver
 public virtual void ScenarioCleanup()
 {
     bool passed = true;
     if (ScenarioContext.Current.TestError != null) { passed = false; }
     UpdateSauceLabsStatus(passed);
     try { System.Threading.Thread.Sleep(50); this.driver.Quit(); } catch (System.Exception) {}
     this.driver = null;
     ScenarioContext.Current.Remove("Driver");
     testRunner.CollectScenarioErrors();
 }
 private void InitializeSeleniumSauce(string browser, string version, string platform, string testName, string url)
 {
     this.driver = new Endjin.Selenium.SpecFlowPlugin.RemoteWebDriver(url, browser, version, platform, testName, true);
 }
 private void InitializeSelenium(string browser, string url)
 {
     this.driver = new Endjin.Selenium.SpecFlowPlugin.RemoteWebDriver(url, browser);
 }