public void BeforeTest()
        {
            // ChromeDriverService service = ChromeDriverService.CreateDefaultService("webdriver.chrome.driver", @"D:\\Automation\\WebDrivers\\chromedriver.exe");
            _driver = new ChromeDriver();
            _driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(120);
            _driver.Manage().Window.Maximize();
            _test = _extent.CreateTest(TestContext.CurrentContext.Test.Name);
            _wait = new WebDriverWait(_driver, TimeSpan.FromMinutes(5));
            _sr   = new ScreenRecorder();
            var recordVideo = bool.Parse(System.Configuration.ConfigurationManager.AppSettings["RecordVideo"]);

            if (recordVideo)
            {
                _sr.SetVideoOutputLocation();
                _sr.StartRecording();
            }
        }