public static void BeforeFeatureStep() { driver = DriverHelper.GetDriver(); // driver is accessible from FeatureContext FeatureContext.Current.Set <IWebDriver>(driver); }