title: Selenium - Stored Session Data
body: <p>I have search throughout the internet but none of the answers I found have a clear solution.</p>
  
  <p>I am using selenium webdriver with Java.</p>
  
  <p>My test needs to verify when you save your login information and close the browser and reopen it then those credentials remain and are saved on a new session. So I want to close the current session and reopen it in order to verify if a cookie persists on the page however Selenium deletes all stored session data so the test case will always fail. Is there any way to prevent Selenium from deleting the stored session data after closing the browser for the specific test case?</p>
  
  <p>When I do run it I get a no such session error.</p>