I have searched high and low for this answer and I am unable to find the exact answer needed; so bear with me if this feels its repeating another question.
Using C#, .NET, SpecFlow, Selenium
I have several feature files using lines from each other, which is predominantly one of the main reasons for using them. For ease ill water them down to draw the picture of the issue... Ill highlight the reused lines also.
Feature File A - Given I have loaded the website When I type a valid username and password Then I can log in
Feature File B - Given I have loaded the website When I type a invalid username and password Then I cant log in
Feature File C - Given I have loaded the website When I create an account And the login screen is presented upon completion And I enter my new account details Then I can log in
As you can see, my feature files cross over and thus B needs A and C needs A. My question is, how do I run all of these one after another, how do I reuse the driver from A when its quit the browser as that flow has ended?