title: How the save the browser sessions in Selenium?
body: <p>I am using Selenium to Log In to an account. After Logging In I would like to save the session and access it again the next time I run the python script so I don't have to Log In again. Basically I want to chrome driver to work like the real google chrome where all the cookies/sessions are saved. This way I don't have to login to the website on every run.</p>
  <pre><code>browser.get(&quot;https://www.website.com&quot;)
  browser.find_element_by_xpath(&quot;//*[@id='identifierId']&quot;).send_keys(email)
  browser.find_element_by_xpath(&quot;//*[@id='identifierNext']&quot;).click()
  time.sleep(3)
  browser.find_element_by_xpath(&quot;//*[@id='password']/div[1]/div/div[1]/input&quot;).send_keys(password)
  browser.find_element_by_xpath(&quot;//*[@id='passwordNext']&quot;).click()
  time.sleep(5)
  </code></pre>