public void BeforeScenario(FeatureContext featureContext, ScenarioContext context) { driver = driverHelper.DriverSetup(_scenarioContext); container.RegisterInstanceAs(driver); var action = driverHelper.ActionSetup(); container.RegisterInstanceAs(action); }