title: Getting or Manipulating all cookies in Selenium Webdriver
body: <p>Trying to mess with cookies using Chromedriver with Python (or Java).</p>
  
  <p>I've figured out that </p>
  
  <pre><code>for cookie in browser.get_cookies():
      print(cookie['name'] + ' --&gt; ' + cookie['value'])
  </code></pre>
  
  <p>only gives me the cookies relevant to the active page my browser's on.</p>
  
  <p>Is there any method I can, using either Selenium or native Python (on Ubuntu, if I need to go into the file system), get all of the cookies on my active selenium session? </p>