How can I save all cookies in Python\'s Selenium WebDriver to a txt-file, then load them later? The documentation doesn\'t say much of anything about the getCookies function
Remember, you can only a add cookie for the current domain. If you wanna add a cookie for your Google account, do
browser.get('http://google.com') for cookie in cookies: browser.add_cookie(cookie)