title: How to make a scenario that depends on another scenario using cucumber, selenium and java
body: <p>I am learning cucumber through some tutorials and there is something that I don't know how to do.. I need to make a scenario that depends on another scenario (for example log out scenario I have to be logged in first before logging out) so what should I do? should I write steps of login at log out scenario (at the feature file) or there is a way to call the whole log in scenario at the log out scenario</p>
  
  <p>also I need to know should I set up driver before each scenario and quit the driver after each scenario?</p>