public SpecFlowHooks(IObjectContainer container)
 {
     executionContext = new ExecutionContext()
     {
         ConfigReader = InitialisationActions.GetConfigReader()
     };
     container.RegisterInstanceAs(executionContext);
 }
 public void BeforeScenario(ScenarioContext scenarioContext)
 {
     scenario = featureName.CreateNode <Scenario>(scenarioContext.ScenarioInfo.Title, scenarioContext.ScenarioInfo.Description);
     executionContext.Driver          = InitialisationActions.InitialiseDriver();
     executionContext.ScenarioContext = scenarioContext;
 }