private void DisposeWebDriverInstance() { if (BaseWebDriver.IsNotNull()) { BaseWebDriver.Quit(); BaseWebDriver.Dispose(); BaseWebDriver = null; } }