public void CreateWebDriver(ScenarioContext scenarioContext) { // Driver >> Create and configure a concrete instance of IWebDriver, use the Driver Driver.driver = _driverFactory.CreateDriver(); // Driver >> Make this instance available to all other step definitions _container.RegisterInstanceAs(Driver.driver); DriverActions.InitializeDriver(Driver.driver); //ExtentReport >> Create the scenarios if (null != scenarioContext) { scenario = featureName.CreateNode<Scenario>(scenarioContext.ScenarioInfo.Title, scenarioContext.ScenarioInfo.Description); } }