SharedSteps Defention Class - mahmoudazaid/Web.Automation.SpecFlow GitHub Wiki

Now let's implement the first step

1. define the URL variable that configured in App.config

protected static string baseURL = ConfigurationManager.AppSettings["URL"];

2. Implement the step definition

[Given(@"I am on Home Page")]
       public void GivenIAmOnHomePage()
       {
           Driver.Visit(baseURL);
       }