Saving chrome cookies Selenium
<p>I am looking for a way to save a chrome session cookies to persist even after my program has been closed. I am assuming writing to a file would be a good way to go about doing this but I am at a loss as to how to accomplish this. My end goal is to save a login cookie so the user won't have to perform a login each time. Here is a bit of code:</p>

<pre><code>Dim driver = New Chrome.ChromeDriver()
driver.Navigate.GoToUrl("URL")
'click stuff and login here
Dim _cookies = driver.Manage().Cookies.AllCookies
'write cookies to file or save somehow
</code></pre>